Template:Template category: Difference between revisions
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 -------------------> |
||
{{#if:{{{topic|}}}{{{description|}}} |
{{#if:{{{topic|}}}{{{description|}}} |
||
| <tr style="background:# |
| <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: |
-->{{#if:{{{topic|}}} |
||
| {{#switch:{{lc:{{{type}}}}} |
|||
|navbox |navigation <!----------------------------(If {{{type}}} provided and is any of these |
|||
⚫ | |||
-->|infobox <!--------------------------------------- principal types, start sentence with it |
|||
-->|sidebar = {{ucfirst:{{{type}}}}} templates <!---- (e.g. "Navigation templates [...]"), |
|||
-->|#default = Templates <!-------------------------- else start with "Templates [...]") |
|||
-->}} |
|||
}} relating to {{{topic}}}.''' <!-- |
|||
-->{{{1|}}}{{{description|}}}<!-- |
|||
--></td> |
|||
⚫ | |||
}} |
}} |
||
Line 28: | Line 36: | ||
|infobox = [[Help:Infobox|infobox]] templates.''' |
|infobox = [[Help:Infobox|infobox]] templates.''' |
||
|meta = metatemplates.''' |
|meta = metatemplates.''' |
||
| |
|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
|