Template:Documentation: Difference between revisions

Jump to navigation Jump to search
imported>Pathoschild
(+ preload on [edit] link when documentation page doesn't exist (idea taken from {{template doc inline}} where it was added by user:AzaToth, added conditional))
imported>Bsherr
(consistent with new substitution template format)
 
(155 intermediate revisions by 45 users not shown)
Line 1: Line 1:
<includeonly>
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude>
{| style="width:100%; padding:5px; background:#ECFCF4; border:1px solid #AAA; clear:both;" class="plainlinks template-documentation"
<!-- Add categories to the /doc subpage -->
| </div><div style="border-bottom:1px solid #AAA; margin-bottom:0.5em;"><span class="editsection"><nowiki>[</nowiki>[[{{{1|{{SUBJECTPAGENAME}}/doc}}}|view]]] [[{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=edit{{#ifexist:{{{1|{{SUBJECTSPACE}}:{{SUBJECTPAGENAMEE}}/doc}}}||&preload={{SUBJECTSPACE}}:Documentation/preload}}}} edit]]</span><big>'''{{SUBJECTSPACE}} documentation'''</big></div>{{{{{1|{{SUBJECTPAGENAME}}/doc}}}}}
</noinclude>
|}</includeonly><noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 02:14, 29 March 2022