Template:Documentation/core: Difference between revisions
Content deleted Content added
imported>Mike.lifeguard m 19 revisions from w:Template:Documentation/core: a nifty template |
imported>Davidgothberg Using a special preload page for /doc pages in File space. |
||
Line 13:
| [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [{{purge|purge}}]
| <!--/doc doesn't exist-->
[[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload=
#ifeq: {{SUBJECTSPACE}} | {{ns:File}}
| Template:Documentation/preload-filespace
| Template:Documentation/preload
}} }} create]]
}}</span>
}} <span style="{{#if: {{{heading-style|}}}
Line 47 ⟶ 51:
<div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.-->
</div><!--End of green doc box--><!--
Small box below for the doc meta-data
-->{{#if:
<!--Check if we should show the small box-->
Line 69 ⟶ 73:
The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br>
}}<!--
Add links to /sandbox and /testcases when appropriate
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:User}}
Line 130 ⟶ 134:
| #default =
<!--Check if there are /sandbox and /testcases
in talk space that are too large to be redirects,
when the subpages should be in
{{#ifexpr:
{{PAGESIZE:
|