Command & Conquer Wiki

Welcome to the Command & Conquer Wiki! Log in and join the community.

READ MORE

Command & Conquer Wiki
m (Reverted edits by Sdsjhdks (talk | block) to last version by Randomtime)
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><onlyinclude><div style="border:1px solid #0D9BE3; margin:1em 0; clear: both;"><div style="background:#0D9BE3; color:#FFF; padding:0.5em; margin:0em;"><div style="float:right; text-align:right; font-size:85%;">&#91;[{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit}} <span title="edit the documentation">edit</span>] &middot; [{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=purge}} <span title="purge this page">purge</span>]&#93;</div>'''Template documentation''' <span style="font-size:85%;">(for the template shown above, sometimes hidden or invisible)</span></div><div style="padding:1em; padding-bottom:0em; margin:0em;">{{tocright}}
+
<includeonly><onlyinclude><div style="border:1px solid #0D9BE3; margin:1em 0; clear: both;"><div style="background:#0D9BE3; color:#FFF; padding:0.5em; margin:0em;"><div class="plainlinks" style="float:right; text-align:right; font-size:85%;">&#91;[{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit}} <span title="edit the documentation" style="color:#fff;">edit</span>] &middot; [{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=purge}} <span title="purge this page" style="color:#fff;">purge</span>]&#93;</div>'''Template documentation''' <span style="font-size:85%;">(for the template shown above, sometimes hidden or invisible)</span></div><div style="padding:1em; padding-bottom:0em; margin:0em;">
 
{{{{PAGENAME}}/doc}}
 
{{{{PAGENAME}}/doc}}
</div><br style="clear:both;"/><div style="background:#0D9BE3; color:#FFF; padding:0.5em; margin:0em; font-size:85%; text-align:right;">Documentation transcluded from [[Template:{{PAGENAME}}/doc]].</div></div></onlyinclude></includeonly>
+
</div><br style="clear:both;"/><div style="background:#0D9BE3; color:#FFF; padding:0.5em; margin:0em; font-size:85%; text-align:right;">Documentation transcluded from [[Template:{{PAGENAME}}/doc|<font color="#fff">Template:{{PAGENAME}}/doc</font>]].</div></div></onlyinclude></includeonly>
 
{{documentation}}
 
{{documentation}}
 
[[Category:Notice templates|{{PAGENAME}}]]
 
[[Category:Notice templates|{{PAGENAME}}]]

Latest revision as of 20:32, 8 August 2021

Template documentation (for the template shown above, sometimes hidden or invisible)

For use on template pages to separate documentation from the actual template. Includes a /doc subpage.

Usage

Simple place the following where you want the documentation to appear (usually enclosed in <noinclude> tags to prevent the documentation being transcluded along with the template wherever the template is used):

{{documentation}}

Documentation transcluded from Template:Documentation/doc.