Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Documentation/layout: Difference between revisions

Template page
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) &mdash; {{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

Documentationcreate · ⧼Code-rev-purge-link⧽ ]
(text: Template:Documentation/layout/doc) — parameter text is not translated in Template:Documentation

Template:Documentation/layout/doc

Cookies help us deliver our services. By using our services, you agree to our use of cookies.