Actions

Template

Difference between revisions of "Documentation"

From DramaWiki

 
m
 
Line 1: Line 1:
 
<includeonly>__NOEDITSECTION__ __NOTOC__<div class="template-documentation plainlinks"><!--
 
<includeonly>__NOEDITSECTION__ __NOTOC__<div class="template-documentation plainlinks"><!--
 +
 
   Add the heading at the top of the doc box:
 
   Add the heading at the top of the doc box:
 +
 
--><div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;"><!--
 
--><div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;"><!--
−
   Add the [edit][purge] or [create] links (TODO: check if /doc exists)
+
 
−
--><span class="editsection"><nowiki>[</nowiki>[[{{{1|{{SUBJECTPAGENAME}}/doc}}}|view]]] [[{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=edit}} edit]]</span><big>'''{{SUBJECTSPACE}} documentation'''</big></div><!--
+
   Add the [edit][view] editsection links if doc page exists)
 +
 
 +
-->{{#ifexist:{{{1|{{SUBJECTPAGENAME}}/doc}}}|<span class="mw-editsection" style="float:right; font-size:100%;"><nowiki>[</nowiki>[[{{{1|{{SUBJECTPAGENAME}}/doc}}}|view]]] [[{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=edit}} edit]]</span>}}<big>'''{{SUBJECTSPACE}} documentation'''</big></div><!--
 +
 
 
   Transclude the /doc subpage
 
   Transclude the /doc subpage
 +
 
-->
 
-->
−
{{{{{1|{{SUBJECTPAGENAME}}/doc}}}}}</div></includeonly><noinclude>
+
{{{{{1|{{SUBJECTPAGENAME}}/doc}}}}}</div><!--
 +
 
 +
  Add the bottom linkbox if any doc page exists:
 +
 
 +
-->{{#ifexist:{{{1|{{SUBJECTPAGENAME}}/doc}}}|
 +
<div class="template-documentation plainlinks">''The above documentation is transcluded from [[{{{1|{{SUBJECTPAGENAME}}/doc}}}]].'' <small>([{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=edit}} edit] &#124; [{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=history}} history])</small></div>
 +
  }}<!--
 +
 
 +
  End of template
 +
 
 +
--></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 09:46, 17 November 2013