Template:Template doc: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
<div style="float: right;" class="plainlinks">&#91;[[{{{1|{{FULLPAGENAME}}/doc}}}|view]]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{FULLPAGENAMEE}}/doc}}}|action=edit}} edit]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{FULLPAGENAMEE}}}}}|action=purge}} purge]&#93;
<div style="float: right;" class="plainlinks">&#91;[[{{{1|{{FULLPAGENAME}}/doc}}}|view]]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{FULLPAGENAMEE}}/doc}}}|action=edit}} edit]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{FULLPAGENAMEE}}}}}|action=purge}} purge]&#93;
</div>
</div>
''The template above may be partially or fully invisible or glitched due to the respected strings aren't entered. This is normal.''<br /><h1 style="margin-top:-0.25em; margin-bottom: 0.25em;">Documentation for ''{{{1|{{PAGENAME}}}}}''</h1><includeonly>
''The template above may be partially or fully invisible or glitched due to the respected strings aren't entered. This is normal. {{purge}}''<br /><h1 style="margin-top:-0.25em; margin-bottom: 0.25em;">Documentation for ''{{{1|{{PAGENAME}}}}}''</h1><includeonly>
{{ #ifexist: {{{content|{{NAMESPACE}}:{{PAGENAME}}/doc}}}  | {{{{{content|{{NAMESPACE}}:{{PAGENAME}}/doc}}}}} | }}
{{ #ifexist: {{{content|{{NAMESPACE}}:{{PAGENAME}}/doc}}}  | {{{{{content|{{NAMESPACE}}:{{PAGENAME}}/doc}}}}} | }}
</div></includeonly><includeonly>
</div></includeonly><includeonly>

Revision as of 09:53, 13 August 2020

The template above may be partially or fully invisible or glitched due to the respected strings aren't entered. This is normal. Clear cache, show latest revision, reload and Purge the page

Documentation for Template doc

Usage

  • Place {{Template doc}} inside tags on a template page to display template documentation.
  • Generally template documentation should only be used on complex templates with multiple parameters. The majority of templates won't need a separate documentation subpage.
  • If you want to have documentation displayed without a subpage, but with the green box, use {{Doc begin}}.