Template:Documentation/start box: Difference between revisions

m
1 revision imported
prefix>Dantman
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1:
<!--
Start of green doc box
--><div idclass="template-documentation" classstyle="templatebackground-documentationcolor:#ecfcf4; iezoomfix"border:1px solid #aaa; style="padding:1em12px;"><!--
Add the heading at the top of the doc box:
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty-->
Line 15:
<!--"heading" not defined in this or previous level-->
{{#switch: {{SUBJECTSPACE}}
| {{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:File}} = Summary
Line 27:
|
| <!--Add the [view][edit][history][purge] or [create] links-->
<span class="mw-editsection-like plainlinks" id="doc_editlinks" style="float:right; font-size:100%;">{{
#if: {{{doc exist|yes}}}
| &#91;[[{{{docpage|{{FULLPAGENAME}}/doc}}}|view]]&#93; [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{purge|purge}}]