Difference between revisions of "Template:Tag"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
(Support for additional notes added.)
Line 16: Line 16:
 
  |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, yes?-->
 
  |{{{1|This page has been <b>tagged</b>.}}}<!--Gonna need a default, yes?-->
}}
+
}}{{#if:{{{2|}}}|<sub><i>({{{2|}}})</i></sub>}}
 
</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:02, 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.(And do not eat me.)

{{Tag}}

This page has been tagged.

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