Template:Documentation/layout: Difference between revisions
Template page
More actions
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}}) |
Use {{tmpl}} and $1 to standardise documentation link display in the transclusion notice (match `transcluded‑from‑blurb` of Data:I18n/Documentation.tab); used by {{Documentation/i18n}} |
||
| Line 19: | Line 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) — {{error|parameter text is not translated in [[Template:Documentation]]}}}}}<!-- | |||
-->|1=[[{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}]]<!-- | |||
-->}}</div> | |||
{{ {{{1|{{SUBJECTPAGENAME}}/doc}}} }} | {{ {{{1|{{SUBJECTPAGENAME}}/doc}}} }} | ||
}} | }} | ||
Revision as of 17:47, 31 July 2021
(text: Template:Documentation/layout/doc) — parameter text is not translated in Template:Documentation