Template:Documentation: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 4:
-->[[File:Template-info.png|50px]] <span style="font-weight: bold; font-size: 125%; margin-right:10px;">Documentation</span><!--
-->{{#ifeq: {{SUBPAGENAME}} | doc |<!-- nothing -->|<!--
-->{{#ifexist:Template:{{{1|{{PAGENAME}}}}}/doc|<span style="font-size:90%">''The documentation below is transcluded from [[Template:{{{1|{{PAGENAME}}}}}/doc]].
--><div style="float: right; margin-left: 5px">
{{#ifexist: Template:{{{1|{{PAGENAME}}}}}/doc|{{Template:{{{1|{{PAGENAME}}}}}/doc|{{{1|}}}}}|No documentation subpage exists yet for this template. {{fullurl|{{FULLPAGENAMEE:Template:{{{1|{{PAGENAME}}}}}}}/doc|action{{=}}edit&preload{{=}}Template:Doc/preload|text=Create one now}}.
Use this template within a template page to transclude its documentation. If the template shares the same documentation as another template, pass the other template's name as parameter 1.
Line 12:
The doc transclusion should be placed at the end of the template code:
<code><nowiki><noinclude>{{
<code><nowiki><noinclude>{{
|