Template:Documentation: Difference between revisions

add a parameter which should allow {{Documentation}} to use any other page as documentation
sims>K6ka
(use plainlinks to hide external link marker)
(add a parameter which should allow {{Documentation}} to use any other page as documentation)
 
(5 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|}}}
| {{tocright}}{{{{{1|}}}}} |
{{#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}} writing some]. [[Category:Templates without documentation]]
}}
}}
</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>