Template:Template category: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(switching wikicode tabling to HTML so {{!}} etc not needed) |
(Undid revision 246921602 by Sardanaphalus (talk)) |
||
Line 3: | Line 3: | ||
|image = [[Image:Curly Brackets.svg|44px|Template braces]] |
|image = [[Image:Curly Brackets.svg|44px|Template braces]] |
||
|text = <div> |
|text = <div> |
||
{{{!}} style="width:100%; background:none" cellspacing="0" |
|||
{{!}}- |
|||
{{#if:{{{topic|}}}{{{description|}}}{{{portal|}}} |
|||
| <tr style="background:#{{darken|224|240|249|5}}; font-size:1.2em; line-height:1.1em;"> |
|||
| <tr style="background:#{{darken|224|240|249|5}}; font-size:1.2em; line-height:1.1em;"> |
|||
<td style="border:1px solid #aaa;{{#if:{{{portal|}}} |border-right:none;}} padding:0.4em"><!-- |
|||
-->{{#if: {{{topic|}}} |'''Templates relating to {{{topic}}}.''' }}<!-- |
|||
⚫ | |||
-->{{#if: {{{portal|}}} |<td style="border:1px solid #aaa; border-left:none; vertical-align:middle;">{{portal|{{{portal}}}|left=no|margin=0}} }} |
|||
</tr> |
|||
}} |
|||
{{!}}- |
|||
<tr> |
|||
{{!}}colspan="2"<!--(in case {{{portal}}} used)--> style="line-height:1.3em;"{{!}} <!-- |
|||
-->{{#if: {{{type|}}} |
|||
| <div style="padding-top:0.3em; font-size:95%;">'''The pages listed in this category are meant to be <!-- |
|||
-->{{#switch:{{{type}}} |
|||
|ambox = [[Wikipedia:Article message boxes|article message box (ambox)]] templates.''' |
|||
|campaignbox = [[Wikipedia:WikiProject Military history/Style guide#Campaignboxes|campaignbox]] templates.''' |
|||
|conversion = templates that perform conversions.''' |
|||
|external link = templates providing [[Wikipedia:External links|external links]].''' |
|||
|formatting = templates that provide formatting.''' |
|||
|function = function templates''', i.e. templates that produce text, images or other elements. |
|||
|infobox = [[Help:Infobox|infobox]] templates.''' |
|||
|meta = metatemplates.''' |
|||
|navbox = [[Wikipedia:Navigational templates|navigational (navbox) templates]].'''<div style="padding:0.15em 0; line-height:1.35em;">If subcategories exist for other types of templates (e.g. [[Help:Infobox|infobox]]es) relating to this topic, they should appear at the start of the subcategories listing immediately below this messagebox. (To achieve this with a template, index it using a <space>, i.e. <code style="background:transparent;"><nowiki>[[</nowiki>{{FULLPAGENAME}}<nowiki>|</nowiki> ]]</code>.)</div> |
|||
|stub = [[Wikipedia:WikiProject Stub sorting/Stub types|stub]] templates.''' |
|||
|timeline = [[Wikipedia:Timeline|timeline]] templates.''' |
|||
|userbox = [[Wikipedia:Userboxes|userbox]] templates.''' |
|||
|#default = {{{1|{{{description|}}}}}} ''' |
|||
|{{{type}}} templates.''' |
|||
}}<!--end switch type, the line above rather unclear [how?] |
|||
--></div> |
|||
| <div style="font-size:95%;">'''The pages listed in this category are [[Wikipedia:Templates|templates]].''' <div style="padding:0.15em 0; line-height:1.3em;">This page is part of [[:Category:Wikipedia Administration|Wikipedia's administration]] and not part of the encyclopedia.</div></div><!-- |
|||
-->{{#if:{{{ALTTEXT|}}} |<br/><hr/>{{{ALTTEXT}}}<hr/>}}<!-- |
|||
}} |
|||
-->}} |
|||
{{{!}} class="collapsible collapsed" style="width:100%; padding-top:0.25em; background:transparent; line-height:1.3em; font-size:90%;" |
|||
! style="border-bottom:1px solid #aaa; text-align:left; font-size:110%" {{!}} Further template category notes |
|||
⚫ | |||
{{!}}- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
--></noinclude></nowiki></code><br/>to the end of the template code, making sure it starts on the same line as the last character of the code.</td> |
|||
{{#if:{{{help|}}}{{{2|}}} |
|||
}} |
|||
⚫ | |||
</table> |
|||
⚫ | | <td style="padding-bottom:0.5em; border-top:1px solid #aaa;">To include a template in this category, add <br/><code style="background:transparent; font-size:110%; overflow:auto;"><nowiki><noinclude>[[</nowiki>{{FULLPAGENAME}}<nowiki>|{{PAGENAME}}]]</noinclude></nowiki></code><br/>to the end of the template code, making sure it starts on the same line as the last character of the code. </td> |
||
</table> |
|||
}} |
|||
{{!}}} |
|||
{{!}}} |
|||
</div> |
</div> |
||
}}<includeonly>{{{category|[[Category:Wikipedia template categories|{{PAGENAME}}]]}}}</includeonly><noinclude> |
}}<includeonly>{{{category|[[Category:Wikipedia template categories|{{PAGENAME}}]]}}}</includeonly><noinclude> |
||
{{documentation}} |
{{documentation}} |
||
<!---Please add metadata |
<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage---> |
||
the bottom of the /doc subpage---> |
|||
</noinclude> |
</noinclude> |
Revision as of 10:54, 22 October 2008
|