Difference between revisions of "Template:Tag"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
(Additional table-friendliness)
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<!--Wikipedia-styled tags-->
 
<!--Wikipedia-styled tags-->
<table style="width:80%;margin:0px 10%;margin-top:-1px;border-width:1px 1px 1px 10px;border-style:solid;border-color:rgb(170,170,170) rgb(170,170,170) rgb(170,170,170) {{#switch: {{{1|}}}|Outdated = rgb(244,133,0)|IncompletePage = rgb(244,133,0)|IncompleteSection = rgb(244,133,0)|rgb(30,144,255)}};background:rgb(251,251,251);line-height:1.5em"><!--Switch table for tag color on this row-->
+
<table style="width:80%;margin:0px 10%;margin-top:-1px;border-width:1px 1px 1px 10px;border-style:solid;border-color:rgb(170,170,170) rgb(170,170,170) rgb(170,170,170) {{#switch: {{{1|}}}|Outdated = rgb(244,133,0)|IncompletePage = rgb(244,133,0)|IncompleteSection = rgb(244,133,0)|InProgress = rgb(30,144,255)|rgb(30,144,255)}};background:rgb(251,251,251);line-height:1.5em"><!--Switch table for tag color on this row-->
 
<tr>
 
<tr>
 
<td style="width:50px;padding: 2px 0px 2px 0.5em;border:0">
 
<td style="width:50px;padding: 2px 0px 2px 0.5em;border:0">
Line 7: Line 7:
 
  |IncompletePage = [[File:Icon_Nugget.png|40px|link=|alt=]]
 
  |IncompletePage = [[File:Icon_Nugget.png|40px|link=|alt=]]
 
  |IncompleteSection = [[File:Icon_Nugget.png|40px|link=|alt=]]
 
  |IncompleteSection = [[File:Icon_Nugget.png|40px|link=|alt=]]
 +
|InProgress = [[File:Icon_Zaru.png|40px|link=|alt=]]
 
  |[[File:Icon_Zaru.png|40px|link=|alt=]]
 
  |[[File:Icon_Zaru.png|40px|link=|alt=]]
 
}}
 
}}
Line 12: Line 13:
 
<td style="padding:0.25em 0.5em;border:0">
 
<td style="padding:0.25em 0.5em;border:0">
 
{{#Switch: {{{1|}}}
 
{{#Switch: {{{1|}}}
  |Outdated = This page is <b>outdated</b>, and may not reflect current information.
+
  |Outdated = This page is <b>outdated</b>, and may not reflect current status, policies, and/or information.
 
  |IncompletePage = This page is <b>under construction</b>, and may not reflect all information currently available.
 
  |IncompletePage = This page is <b>under construction</b>, and may not reflect all information currently available.
 
  |IncompleteSection = This section is <b>under construction</b>, and may not reflect all information currently available.
 
  |IncompleteSection = This section is <b>under construction</b>, and may not reflect all information currently available.
 +
|InProgress = This event is <b>currently in progress</b>.
 
  |{{{1|This page has been <b>tagged</b>.}}}<!--Gonna need a default, yes?-->
 
  |{{{1|This page has been <b>tagged</b>.}}}<!--Gonna need a default, yes?-->
 
}}{{#if:{{{2|}}}|<small><i>({{{2|}}})</i></small>}}
 
}}{{#if:{{{2|}}}|<small><i>({{{2|}}})</i></small>}}

Latest revision as of 23:03, 14 July 2013

This page has been tagged.

Documentation for Tag

Template for adding content tags to articles. Wikipedia-styled -- There might be a better choice later.

Feel free to add more!

Syntax

{{Tag|function|notes}}


Current function parameters:

  • Outdated: For pages with outdated info, adds tagged page to Category:Outdated Pages
  • IncompletePage: For incomplete pages, adds tagged page to Category:Incomplete Pages
  • IncompleteSection: For incomplete sections within a page, adds tagged page to Category:Incomplete Pages
  • (Other): The tag will display whatever entered as the parameter on it.
  • (Empty): The page will simply be tagged.

Optional additional notes will be displayed after the main tag text, italicized with a smaller font size and with parentheses added.

Examples

Code Output
{{Tag|Outdated}}

This page is outdated, and may not reflect current status, policies, and/or information.

{{Tag|IncompletePage}}

This page is under construction, and may not reflect all information currently available.

{{Tag|IncompleteSection}}

This section is under construction, and may not reflect all information currently available.

{{Tag|InProgress}}

This event is currently in progress.

{{Tag|Hello, I am Zaru.|And do not eat me.}}

Hello, I am Zaru.(And do not eat me.)

{{Tag}}

This page has been tagged.

Icon Blaine.png This documentation is transcluded from Template:Tag/doc.