Template:Documentation: Difference between revisions

Content deleted Content added
imported>PedroJJBA
No edit summary
No edit summary
Line 1:
<div style="clear:both;"></div><div class="template-documentation"><div class="template-docu-header"><!--
<noinclude><div style="display:none;"></noinclude><div style="border:1px solid black; margin:1em; margin-top:3em;"><div style="background:#ddd; color:#111; padding:1em; margin:0em;">'''Template documentation''' <span style="font-size:85%;">(for the above template, sometimes hidden or invisible)</span></div><div style="padding:1em; padding-bottom:0em; margin:0em;">{{tocright}}
Header
{{{{PAGENAME}}/doc}}
--><span style="float:right;text-align:right;font-size:85%;margin-top:-11px">{{#ifexist:{{FULLPAGENAME}}/doc|[[{{FULLPAGENAME}}/doc|<span title="View Documentation">View</span>]]&nbsp;&middot; [{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} <span title="Edit Documentation">Edit</span>]&nbsp;&middot; [{{fullurl:{{FULLPAGENAME}}/doc|action=history}} <span title="View Documentation History">History</span>]|[{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Preloader/DocumentationPage&redlink=1}} <span title="Create Documentation">Create</span>]}}&nbsp;&middot; [{{fullurl:{{FULLPAGENAME}}|action=purge}} <span title="Reload Documentation if it does not update">Purge</span>]<br />Template: [[Special:WhatLinksHere/{{FULLPAGENAME}}|<span title="View pages using this template">Links</span>]]&nbsp;&middot; [[Special:PrefixIndex/{{FULLPAGENAME}}/|<span title="View subpages of this template">Subpages</span>]]</span>'''Template documentation''' <span style="font-size:85%;">(for the above template, sometimes hidden or invisible)</span></div><!--
</div><br style="clear:both;"/><div style="background:#ddd; color:#111; padding:0.5em; margin:0em; font-size:85%; text-align:right;">Visit [[Template:{{PAGENAME}}/doc]] to edit this text! ([[Template:Documentation|How does this work]]?)</div></div><noinclude></div>
Actual content
{{documentation}}[[Category:Template Documentation| ]]</noinclude>
--><div class="template-docu-content">{{#ifexist:{{FULLPAGENAME}}/doc|
{{#if:{{{notoc|}}}||{{tocright}}}}
{{{{PAGENAME}}/doc}}[[Category:Templates with documentation|{{PAGENAME}}]]
|
This template does not yet have any documentation.<br />[{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Preloader/DocumentationPage&redlink=1}} Add documentation][[Category:Templates without documentation|{{PAGENAME}}]]}}
</div><!--
Footer
</div--><br style="clear:both;"/><div styleclass="background:#ddd; color:#111; padding:0.5em; margin:0em; fonttemplate-size:85%; textdocu-align:right;footer">Visit [[Template:{{PAGENAME}}/doc]] to edit this text! ([[Template:Documentation|How does this work]]?)</div></div><noinclude></div>