Difference between revisions of "Template:Tag/doc"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
Line 6: Line 6:
  
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
{{Tag|function}}
+
{{Tag|function|notes}}
 
</pre>
 
</pre>
  
Line 16: Line 16:
 
*'''(Other)''': The tag will display whatever entered as the parameter on it.
 
*'''(Other)''': The tag will display whatever entered as the parameter on it.
 
*'''(Empty)''': The page will simply be tagged.
 
*'''(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==
 
==Examples==
Line 23: Line 25:
 
{{Tag|IncompletePage}}
 
{{Tag|IncompletePage}}
 
{{Tag|IncompleteSection}}
 
{{Tag|IncompleteSection}}
{{Tag|Hello, I am Zaru.}}
+
{{Tag|Hello, I am Zaru.|And do not eat me.}}
 
{{Tag}}
 
{{Tag}}
 
</pre>
 
</pre>
Line 30: Line 32:
 
{{Tag|IncompletePage}}
 
{{Tag|IncompletePage}}
 
{{Tag|IncompleteSection}}
 
{{Tag|IncompleteSection}}
{{Tag|Hello, I am Zaru.}}
+
{{Tag|Hello, I am Zaru.|And do not eat me.}}
 
{{Tag}}
 
{{Tag}}

Revision as of 03:11, 13 July 2013

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

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

Output

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

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

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

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

This page has been tagged.