Template:Template category: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(Add "navigation" alias and remove wording about subcategories, per protected edit request)
(Add sidebar/sidebox, place "Navigation"/"Navbox"/"Infobox"/"Sidebar" before the first word of the template message, per protected edit request)
Line 5: Line 5:
<table style="width:98%;background:none;" cellspacing="0">
<table style="width:98%;background:none;" cellspacing="0">


<!-------------------- topic/description/portal --------------------->
<!------------------ topic / description / portal ------------------->
{{#if:{{{topic|}}}{{{description|}}}
{{#if:{{{topic|}}}{{{description|}}}
| <tr style="background:#D5E4ED; font-size:1.2em; line-height:1.25em;">
| <tr style="background:#d5e4ed;line-height:1.25em;font-size:1.2em;">
<td style="border:1px solid #aaa;{{#if:{{{portal|}}} |border-right:none;}} padding:0.4em"><!--
<td style="border:1px solid #aaa;{{#if:{{{portal|}}} |border-right:none;}} padding:0.4em;"><!--
-->{{#if: {{{topic|}}} |'''Templates relating to {{{topic}}}.'''&nbsp;}}<!--
-->{{#if:{{{topic|}}}
-->{{{1|}}}{{{description|}}}</td>
| {{#switch:{{lc:{{{type}}}}}
|navbox |navigation <!----------------------------(If {{{type}}} provided and is any of these
</tr>
-->|infobox <!--------------------------------------- principal types, start sentence with it
-->|sidebar = {{ucfirst:{{{type}}}}} templates <!---- (e.g. "Navigation templates [...]"),
-->|#default = Templates <!-------------------------- else start with "Templates [...]")
-->}}
}} relating to {{{topic}}}.'''&nbsp;<!--
-->{{{1|}}}{{{description|}}}<!--
--></td>
</tr>
}}
}}


Line 28: Line 36:
|infobox = [[Help:Infobox|infobox]] templates.'''
|infobox = [[Help:Infobox|infobox]] templates.'''
|meta = metatemplates.'''
|meta = metatemplates.'''
|navbox |navigation = [[Wikipedia:Navigation templates|navigation templates]].'''
|navigation |navbox = [[Wikipedia:Navigation templates|navigation templates]].'''
|sidebar |sidebox = [[:Category:Sidebar templates|sidebar templates]].'''
|stub = [[Wikipedia:WikiProject Stub sorting/Stub types|stub]] templates.'''
|stub = [[Wikipedia:WikiProject Stub sorting/Stub types|stub]] templates.'''
|timeline = [[Wikipedia:Timeline|timeline]] templates.'''
|timeline = [[Wikipedia:Timeline|timeline]] templates.'''

Revision as of 09:04, 5 March 2013