Template:Documentation/layout: Difference between revisions
Template page
More actions
there are four different preloads in the edit notice when one opens a new documentation subpage for editing, no need to “force” one of them (and even if there was, the link should use TemplateStyles instead of inline CSS) |
Omit edit links (except for “purge”) when the `content` parameter is used |
||
| Line 6: | Line 6: | ||
| {{{heading|}}} | | {{{heading|}}} | ||
| [[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|}}}||<!-- | |||
-->[{{fullurl:{{{1|*/doc}}}}} {{{view|{{Int:vector-view-view}}}}}] '''·''' <!-- | -->[{{fullurl:{{{1|*/doc}}}}} {{{view|{{Int:vector-view-view}}}}}] '''·''' <!-- | ||
-->[{{fullurl:{{{1|*/doc}}}|action=edit{{#ifexist: {{{1|*/doc}}} || &preload=Template:Documentation/preload }}}} {{{edit|{{Int:Vector-view-edit}}}}}] '''·''' <!-- | -->[{{fullurl:{{{1|*/doc}}}|action=edit{{#ifexist: {{{1|*/doc}}} || &preload=Template:Documentation/preload }}}} {{{edit|{{Int:Vector-view-edit}}}}}] '''·''' <!-- | ||
-->[{{fullurl:{{{1|*/doc}}}|action=history}} {{{history|{{Int:Vector-view-history}}}}}] '''·''' <!-- | -->[{{fullurl:{{{1|*/doc}}}|action=history}} {{{history|{{Int:Vector-view-history}}}}}] '''·''' <!-- | ||
--><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 15:27, 8 June 2021
text parameter not translated in Template:Documentation