Difference between revisions of "Template:Tag"
Jump to navigation
Jump to search
m |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!--Wikipedia-styled tags--> | <!--Wikipedia-styled tags--> | ||
− | <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)|InProgress = rgb(30,144,255)|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=]] | ||
|IncompletePage = [[File:Icon_Nugget.png|40px|link=|alt=]] | |IncompletePage = [[File:Icon_Nugget.png|40px|link=|alt=]] | ||
|IncompleteSection = [[File:Icon_Nugget.png|40px|link=|alt=]] | |IncompleteSection = [[File:Icon_Nugget.png|40px|link=|alt=]] | ||
+ | |InProgress = [[File:Icon_Zaru.png|40px|link=|alt=]] | ||
|[[File:Icon_Zaru.png|40px|link=|alt=]] | |[[File:Icon_Zaru.png|40px|link=|alt=]] | ||
}} | }} | ||
</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 status, policies, and/or information. |
|IncompletePage = This page is <b>under construction</b>, and may not reflect all information currently available. | |IncompletePage = This page 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. | |IncompleteSection = This section is <b>under construction</b>, and may not reflect all information currently available. | ||
+ | |InProgress = This event is <b>currently in progress</b>. | ||
|{{{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|}}}|<small><i>({{{2|}}})</i></small>}} |
</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> |
Latest revision as of 00:03, 15 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}} |
| ||
{{Tag|IncompletePage}} |
| ||
{{Tag|IncompleteSection}} |
| ||
{{Tag|InProgress}} |
| ||
{{Tag|Hello, I am Zaru.|And do not eat me.}} |
| ||
{{Tag}} |
|
- This documentation is transcluded from Template:Tag/doc.