Vorlage:Documentation/layout: Unterschied zwischen den Versionen

Aus How to be a Hero
Zur Navigation springen Zur Suche springen
/>ExE Boss
(Only show `create` link when `content` is not used and the doc subpage doesn’t exist (use {{#invoke:TNT|msg|I18n/Documentation.tab|crea…)
/>ExE Boss
(Use {{tmpl}} and $1 to standardise documentation link display in the transclusion notice (match `transcluded‑from‑blurb` of […)
Zeile 19: Zeile 19:
{{#if: {{{content|}}}
{{#if: {{{content|}}}
| {{{content|}}}<!-- do not show notice when /doc is not transcluded-->
| {{{content|}}}<!-- do not show notice when /doc is not transcluded-->
| <div class="template-documentation-transcludedfrom mw-content-{{Dir|{{{lang|}}}}}" lang="{{{lang|}}}" dir="{{Dir|{{{lang|}}}}}">{{{text|text parameter not translated in [[Template:Documentation]]}}}</div>
| <div class="template-documentation-transcludedfrom mw-content-{{Dir|{{{lang|}}}}}" lang="{{{lang|}}}" dir="{{Dir|{{{lang|}}}}}">{{tmpl<!--
-->|0={{{text|(text: $1) &mdash; {{error|parameter text is not translated in [[Template:Documentation]]}}}}}<!--
-->|1=[[{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}]]<!--
-->}}</div>
{{ {{{1|{{SUBJECTPAGENAME}}/doc}}} }}
{{ {{{1|{{SUBJECTPAGENAME}}/doc}}} }}
}}
}}

Version vom 31. Juli 2021, 19:47 Uhr

Vorlage:Documentation/layout/doc