Template:Template category: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(updates requested by User:Sardanaphalus) |
(Removed rhs as this probably better-handled using e.g. {{stack}} (will add example to documentation)) |
||
Line 5: | Line 5: | ||
<table style="width:98%;background:none;" cellspacing="0"> |
<table style="width:98%;background:none;" cellspacing="0"> |
||
<!------------------- topic / description |
<!---------------------- topic / description ---------------------> |
||
{{#if:{{{topic|}}}{{{description|}}} |
{{#if:{{{topic|}}}{{{description|}}} |
||
| <tr style="background:#d5e4ed;line-height:1.5em;"> |
| <tr style="background:#d5e4ed;line-height:1.5em;"> |
||
<td style="border:1px solid #aaa;padding:0.4em;"><!-- |
<td style="border:1px solid #aaa;padding:0.4em;"><!-- |
||
-->{{#if:{{{rhs|}}} |{{align|right|{{{rhs}}}}} }}<!-- |
|||
--><span style="font-size:120%;"><!-- |
--><span style="font-size:120%;"><!-- |
||
-->{{#if:{{{topic|}}} |
|||
⚫ | |||
| '''{{#switch:{{lc:{{{type}}}}} |
|||
⚫ | |||
| #default = Templates |
|||
}} relating to {{{topic}}}.<!-- |
|||
-->''' <!-- |
|||
-->}}{{{1|}}}{{{description|}}}<!-- |
|||
--></span><!-- |
--></span><!-- |
||
--></td> |
--></td> |
||
Line 18: | Line 22: | ||
}} |
}} |
||
<! |
<!---------------------------- type ------------------------------> |
||
<tr> |
<tr> |
||
<td style="line-height:1.3em;"><!-- |
<td style="line-height:1.3em;"><!-- |
||
Line 44: | Line 48: | ||
}} |
}} |
||
<! |
<!-------------- Further template category notes ---------------> |
||
<table class="collapsible collapsed" style="width:100%;font-size:90%;padding-top:0.25em;background:transparent;line-height:1.3em;"> |
<table class="collapsible collapsed" style="width:100%;font-size:90%;padding-top:0.25em;background:transparent;line-height:1.3em;"> |
||
<tr><th style="border-bottom:1px solid #aaa;text-align:left;">{{resize|110%|Further template category notes}}</th></tr> |
<tr><th style="border-bottom:1px solid #aaa;text-align:left;">{{resize|110%|Further template category notes}}</th></tr> |
||
Line 60: | Line 64: | ||
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} |{{{category|[[Category:Wikipedia template categories]]}}} }}</includeonly><!-- |
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} |{{{category|[[Category:Wikipedia template categories]]}}} }}</includeonly><!-- |
||
--><noinclude> |
--><noinclude>{{Documentation}}</noinclude> |
||
{{Documentation}} |
|||
</noinclude> |
Revision as of 12:11, 9 June 2014
|