Template:Documentation: Difference between revisions

add a parameter which should allow {{Documentation}} to use any other page as documentation
sims>K6ka
(Revert to revision 427110 dated 2012-09-06 13:38:49 by Nikel23 using popups)
(add a parameter which should allow {{Documentation}} to use any other page as documentation)
 
(13 intermediate revisions by 2 users not shown)
Line 1:
<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 class="plainlinks">([[{{FULLPAGENAME}}/doc|View]] · [{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} Edit] · [{{fullurl:{{FULLPAGENAME}}/doc|action=history}} History] · [{{fullurl:{{FULLPAGENAME}}|action=purge}} Purge])</span></div><div style="padding:1em; padding-bottom:0em; margin:0em;">{{#if:{{{1|}}}
<div style="clear: both; border: 1px solid black; margin: 1em; margin-top: 3em;">
| {{tocright}}{{{{{1|}}}}} |
<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>
{{#ifexist: {{FULLPAGENAME}}/doc
<div style="background: #ffffff; padding: 1em; margin: 0em;">{{
#ifexist: {{FULLPAGENAME}}/doc
| {{tocright}}{{{{PAGENAME}}/doc}}
| :<strong class="error">This template currently doesn't have any documentation!</strong> Help out by [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Documentation/preload}} writing some]. {{#ifeq:{{NAMESPACE}}|{{ns:10}}|There may also be documentation on [[w:c:templates:{{FULLPAGENAME}}/doc|Wikia Templates]] which can be copied.}}[[Category:Templates without documentation]]
}}
}}
</div>
</div><br style="clear: both;"/><div style="background: #ddd; color: #111; padding: 0.5em; margin: 0em; font-size: 85%; text-align: right;"><span class="plainlinks">Visit [[{{FULLPAGENAME}}/doc]] to [{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit] this text! ([[Template:Documentation|How does this work]]?) ([{{fullurl:{{FULLPAGENAME}}|action=purge}} Refresh] this text - [[Help:Purge|why?]])</span></div></div><noinclude></div>
</div>
{{documentation}}[[Category:Template documentation| ]][[Category:Template-related templates|{{PAGENAME}}]]</noinclude>