Difference between revisions of "Template:Tag"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
m
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) {{#if: {{{1|}}}|rgb(244,133,0)|rgb(30,144,255)}};background:rgb(251,251,251);line-height:1.5em">
+
<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-->
 
<tr>
 
<tr>
 
<td style="width:50px;padding: 2px 0px 2px 0.5em">
 
<td style="width:50px;padding: 2px 0px 2px 0.5em">
{{#Switch: {{{1|}}}
+
{{#Switch: {{{1|}}}<!--Switch table for tag icon-->
 
  |Outdated = [[File:Icon_Ore.png|40px|link=|alt=]]
 
  |Outdated = [[File:Icon_Ore.png|40px|link=|alt=]]
 
  |IncompletePage = [[File:Icon_Nugget.png|40px|link=|alt=]]
 
  |IncompletePage = [[File:Icon_Nugget.png|40px|link=|alt=]]
Line 15: Line 15:
 
  |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.
  |{{{1|This page has been <b>tagged</b>.}}}<!--Gonna need a default, right?-->
+
  |{{{1|This page has been <b>tagged</b>.}}}<!--Gonna need a default, yes?-->
 
}}
 
}}
 
</td>
 
</td>
 
</tr>
 
</tr>
 
</table>{{#ifeq: {{{1|}}}|Outdated|[[Category:Outdated_Pages]]}}{{#ifeq: {{{1|}}}|IncompletePage|[[Category:Incomplete_Pages]]}}{{#ifeq: {{{1|}}}|IncompleteSection|[[Category:Incomplete_Pages]]}}<noinclude>{{Template doc}}</noinclude>
 
</table>{{#ifeq: {{{1|}}}|Outdated|[[Category:Outdated_Pages]]}}{{#ifeq: {{{1|}}}|IncompletePage|[[Category:Incomplete_Pages]]}}{{#ifeq: {{{1|}}}|IncompleteSection|[[Category:Incomplete_Pages]]}}<noinclude>{{Template doc}}</noinclude>

Revision as of 03:33, 13 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 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}}

InProgress

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

Hello, I am Zaru.

{{Tag}}

This page has been tagged.

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