Template:Documentation/start box: Difference between revisions
Content added Content deleted
prefix>Dantman m (2 revisions from w:en:Template:Documentation/start box) |
m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<!-- |
<!-- |
||
Start of green doc box |
Start of green doc box |
||
--><div |
--><div class="template-documentation" style="background-color:#ecfcf4; border:1px solid #aaa; padding:12px;"><!-- |
||
Add the heading at the top of the doc box: |
Add the heading at the top of the doc box: |
||
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty--> |
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty--> |
||
Line 15: | Line 15: | ||
<!--"heading" not defined in this or previous level--> |
<!--"heading" not defined in this or previous level--> |
||
{{#switch: {{SUBJECTSPACE}} |
{{#switch: {{SUBJECTSPACE}} |
||
| {{ns:Template}} = [[File:Template-info.png|50px|link=|alt=Documentation icon]] Template documentation |
| {{ns:Template}} = [[File:Template-info.png|50px|link=|alt=Documentation icon]] {{{Documentation alt text|Template documentation}}} |
||
| {{ns:Module}} = [[File:Template-info.png|50px|link=|alt=Documentation icon]] Module documentation |
| {{ns:Module}} = [[File:Template-info.png|50px|link=|alt=Documentation icon]] Module documentation |
||
| {{ns:File}} = Summary |
| {{ns:File}} = Summary |
||
Line 27: | Line 27: | ||
| |
| |
||
| <!--Add the [view][edit][history][purge] or [create] links--> |
| <!--Add the [view][edit][history][purge] or [create] links--> |
||
<span class="mw-editsection plainlinks" id="doc_editlinks |
<span class="mw-editsection-like plainlinks" id="doc_editlinks">{{ |
||
#if: {{{doc exist|yes}}} |
#if: {{{doc exist|yes}}} |
||
| [[[{{{docpage|{{FULLPAGENAME}}/doc}}}|view]]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{purge|purge}}] |
| [[[{{{docpage|{{FULLPAGENAME}}/doc}}}|view]]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{purge|purge}}] |