Difference between revisions of "Template:Tag/doc"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
(nicely charted)
Line 20: Line 20:
  
 
==Examples==
 
==Examples==
===Code===
+
{| class="centered wikitable" style="width:100%"
<pre style="overflow:auto">
+
|-
{{Tag|Outdated}}
+
! Code !! Output
{{Tag|IncompletePage}}
+
|-
{{Tag|IncompleteSection}}
+
|<pre style="overflow:auto">{{Tag|Outdated}}</pre>||{{Tag|Outdated}}
{{Tag|Hello, I am Zaru.|And do not eat me.}}
+
|-
{{Tag}}
+
|<pre style="overflow:auto">{{Tag|IncompletePage}}</pre>||{{Tag|IncompletePage}}
</pre>
+
|-
===Output===
+
|<pre style="overflow:auto">{{Tag|IncompleteSection}}</pre>||{{Tag|IncompleteSection}}
{{Tag|Outdated}}
+
|-
{{Tag|IncompletePage}}
+
|<pre style="overflow:auto">{{Tag|Hello, I am Zaru.|And do not eat me.}}</pre>||{{Tag|Hello, I am Zaru.|And do not eat me.}}
{{Tag|IncompleteSection}}
+
|-
{{Tag|Hello, I am Zaru.|And do not eat me.}}
+
|<pre style="overflow:auto">{{Tag}}</pre>||{{Tag}}
{{Tag}}
+
|}

Revision as of 03:24, 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 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|Hello, I am Zaru.|And do not eat me.}}

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

{{Tag}}

This page has been tagged.