13,255
edits
m (fix: Also check for /doc subpage) |
(+- style: Header and view, edit, history and purge links) |
||
| Line 18: | Line 18: | ||
{{#if: {{{content|{{{1|{{#ifexist: {{FULLPAGENAME}}/doc | yes}}}}}}}} <!-- Is both 1= and content= empty and there is no /doc subpage? --> | {{#if: {{{content|{{{1|{{#ifexist: {{FULLPAGENAME}}/doc | yes}}}}}}}} <!-- Is both 1= and content= empty and there is no /doc subpage? --> | ||
| <!-- No, at least one of them is is there. --> | | <!-- No, at least one of them is is there. --> | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
__NOTOC__ | __NOTOC__ | ||
<div class="toccolours template-documentation" style="background: #FFFFEE; border: 1px solid #FFDAB9;font-size:100%"> | |||
<div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex; line-height: 1.6"> | |||
<span style="font-weight: bold; font-size: 125%">Template documentation</span> | |||
<span class="plainlinks" style="font-size: small"> | |||
[ | |||
[{{{1|{{fullurl:{{FULLPAGENAME}}/doc}}}}} View] | |||
] | |||
[ | |||
[{{{1|{{fullurl:{{FULLPAGENAME}}/doc|action=edit}}}}} Edit] | |||
] | |||
[ | |||
[{{{1|{{fullurl:{{FULLPAGENAME}}/doc|action=history}}}}} History] | |||
] | |||
[ | |||
[{{{1|{{fullurl:{{FULLPAGENAME}}/doc|action=purge}}}}} Purge] | |||
]</span> | |||
</div> | |||
{{{{{1|{{FULLPAGENAME}}/doc}}}}} | {{{{{1|{{FULLPAGENAME}}/doc}}}}} | ||
{{{content|}}} | {{{content|}}} | ||
</div> | </div> | ||
<div class="toccolours template-documentation" style="background: #FFFFEE; border: 1px solid #FFDAB9;font-size:100% | <div class="toccolours template-documentation" style="background: #FFFFEE; border: 1px solid #FFDAB9;font-size:100%"> | ||
The above documentation is transcluded from [[{{FULLPAGENAME}}/doc]]. ([{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} | The above documentation is transcluded from [[{{FULLPAGENAME}}/doc]]. <span class="plainlinks">([{{{1|{{fullurl:{{FULLPAGENAME}}/doc|action=edit}}}}} Edit] {{!}} [{{{1|{{fullurl:{{FULLPAGENAME}}/doc|action=history}}}}} History])</span> | ||
{{#if: {{{link box|}}} | {{#if: {{{link box|}}} | ||
| | | | ||