Difference between revisions of "Template:Tag/doc"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
(Documentation for Template:Tag)
 
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
{{Tag|function}}
+
{{Tag|function|notes}}
 
</pre>
 
</pre>
  
  
 
Current function parameters:
 
Current function parameters:
*Outdated: For pages with outdated info, adds tagged page to [[:Category:Outdated Pages]]
+
*'''Outdated''': For pages with outdated info, adds tagged page to [[:Category:Outdated Pages]]
*IncompletePage: For incomplete pages, adds tagged page to [[:Category:Incomplete 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]]
+
*'''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.
+
*'''(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==
===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.}}
+
|-
{{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|InProgress}}</pre>||{{Tag|InProgress}}
{{Tag|IncompleteSection}}
+
|-
{{Tag|Hello, I am Zaru.}}
+
|<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}}
+
|-
 +
|<pre style="overflow:auto">{{Tag}}</pre>||{{Tag}}
 +
|}

Latest revision as of 23:44, 14 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|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.