Difference between revisions of "Template:Tag"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
m
(Additional table-friendliness)
Line 2: Line 2:
 
<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-->
 
<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;border:0">
 
{{#Switch: {{{1|}}}<!--Switch table for tag icon-->
 
{{#Switch: {{{1|}}}<!--Switch table for tag icon-->
 
  |Outdated = [[File:Icon_Ore.png|40px|link=|alt=]]
 
  |Outdated = [[File:Icon_Ore.png|40px|link=|alt=]]
Line 10: Line 10:
 
}}
 
}}
 
</td>
 
</td>
<td style="padding:0.25em 0.5em">
+
<td style="padding:0.25em 0.5em;border:0">
 
{{#Switch: {{{1|}}}
 
{{#Switch: {{{1|}}}
 
  |Outdated = This page is <b>outdated</b>, and may not reflect current information.
 
  |Outdated = This page is <b>outdated</b>, and may not reflect current information.

Revision as of 03:19, 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.