Documentation: Difference between revisions
/>Dinoguy1000-fduser merge #ifexists |
/>Dinoguy1000-fduser simplify code - wikipedia:Template:Documentation automatically clears floating content, so there's no reason not to do so here; code spacing; no need for <includeonly>/<noinclude> |
||
Line 1: | Line 1: | ||
<div style="clear: both; border: 1px solid black; margin: 1em; margin-top: 3em;"> | |||
|{{tocright}} | <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> | ||
{{{{PAGENAME}}/doc}} | <div style="padding: 1em; padding-bottom: 0em; margin: 0em;">{{ | ||
|This template currently doesn't have any documentation! Help out by [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Documentation/preload}} writing some].[[Category:Templates without documentation]]}} | #ifexist: {{FULLPAGENAME}}/doc | ||
</div>< | | {{tocright}}{{{{PAGENAME}}/doc}} | ||
| :''This template currently doesn't have any documentation!'' Help out by [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Documentation/preload}} writing some].[[Category:Templates without documentation]] | |||
}} | |||
</div> | |||
<div style="clear: both; background: #ddd; color: #111; padding: 0.5em; margin: 0em; font-size: 85%; text-align: right;">Visit [[{{FULLPAGENAME}}/doc]] to edit this text! ([[Template:Documentation|How does this work]]?) ([{{fullurl:{{FULLPAGENAME}}|action=purge}} Refresh] this text - [[Help:Purge|why?]])</div> | |||
</div> |
Revision as of 23:03, 12 August 2010
Template documentation (for the above template, sometimes hidden or invisible)
{{
#ifexist: Documentation/doc | Template:TocrightTemplate:Documentation/doc | :This template currently doesn't have any documentation! Help out by writing some. }}