Template:Documentation: Difference between revisions

Jump to navigation Jump to search
consistent with new substitution template format
ftb>Kpabik
mNo edit summary
 
(consistent with new substitution template format)
Line 1: Line 1:
<div style="clear: both; border: 1px solid #404040; margin: 1em;">
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude>
  <div style="background: #222; padding: 1em; margin: 0;">'''Template documentation''' <small>(for the above template, sometimes hidden or invisible)</small></div>
<!-- Add categories to the /doc subpage -->
  <div style="padding: 1em; margin: 0;">{{#if: {{{content|}}} | <div></div>
</noinclude>
{{{content}}}
    | {{#ifexist: {{{1|{{FULLPAGENAME}}/doc}}} | {{tocright}}
{{:{{{1|{{FULLPAGENAME}}/doc}}} }}      |:<strong class="error">This template doesn't have any documentation yet!</strong> Help out by [{{fullurl:{{{1|{{FULLPAGENAMEE}}/doc}}}|action=edit&summary=(Tags:Documentation)&preload=Template:Documentation/preload}} writing some].[[Category:Templates without documentation]]
      }}
    }}
  </div>  <div style="clear: both; background: #222; padding: 0.5em; margin: 0; font-size: 85%; text-align: right;">{{#if: {{{content|}}}
    | [{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page] to change this text!
    | Visit {{#ifexist: {{{1|{{FULLPAGENAME}}/doc}}}
      | [[{{{1|{{FULLPAGENAME}}/doc}}}]] to [{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit}} change] this text!
      | [[{{{1|{{FULLPAGENAME}}/doc}}}]] to [{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit}} write] some documentation!
      }}
    }} ([[Template:Documentation|How does this work]]?)<br/>
Done making changes? [{{fullurl:{{FULLPAGENAME}}|action=purge}} Refresh] this text! ([[Help:Purge|Why?]])
  </div>
</div>
Anonymous user

Navigation menu