Template:Documentation/layout: Difference between revisions
Template page
More actions
Use {{transclude}} |
Only show `create` link when `content` is not used and the doc subpage doesn’t exist (use {{#invoke:TNT|msg|I18n/Documentation.tab|create‑link‑display}}) |
||
| Line 7: | Line 7: | ||
| [[File:Test Template Info-Icon.svg|50px|link=|alt=]] {{{documentation|Documentation}}} | | [[File:Test Template Info-Icon.svg|50px|link=|alt=]] {{{documentation|Documentation}}} | ||
}}</span><span class="mw-editsection-like plainlinks" id="doc_editlinks"><!-- | }}</span><span class="mw-editsection-like plainlinks" id="doc_editlinks"><!-- | ||
-->[ {{#if:{{{content|}}}||<!-- | -->[ {{#if:{{{content|}}}||{{#ifexist:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}|<!-- | ||
-->[{{fullurl:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}}} {{{view|{{Int:vector-view-view}}}}}] '''·''' <!-- | -->[{{fullurl:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}}} {{{view|{{Int:vector-view-view}}}}}] '''·''' <!-- | ||
-->[{{fullurl:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}|action=edit | -->[{{fullurl:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}|action=edit}} {{{edit|{{Int:Vector-view-edit}}}}}] '''·''' <!-- | ||
-->[{{fullurl:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}|action=history}} {{{history|{{Int:Vector-view-history}}}}}] '''·''' <!-- | -->[{{fullurl:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}|action=history}} {{{history|{{Int:Vector-view-history}}}}}] '''·''' <!-- | ||
--><nowiki/>}}<!-- | --><nowiki/>|<!-- | ||
-->[{{fullurl:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}|action=edit&preload=Template:Documentation/preload}} {{#invoke:TNT|msg|lang={{{lang|}}}|I18n/Documentation.tab|create-link-display}}] '''·''' <!-- | |||
--><nowiki/>}}}}<!-- | |||
-->[{{fullurl:{{FULLPAGENAME}}|action=purge}} {{{purge|{{Int:Code-rev-purge-link}}}}}]<!-- | -->[{{fullurl:{{FULLPAGENAME}}|action=purge}} {{{purge|{{Int:Code-rev-purge-link}}}}}]<!-- | ||
--> ]</span></div> | --> ]</span></div> | ||
Revision as of 16:32, 31 July 2021
text parameter not translated in Template:Documentation