Template:Doc: Difference between revisions
Jump to navigation
Jump to search

Consider discussing changes on the talk page before implementing them.
(make the "strings" text not be purple) |
(Hopefully it shouldn't throw out the view button being red when docpage param is set) |
||
Line 16: | Line 16: | ||
| Template = <span style="{{#switch:{{Intlang}}|he=padding-left|#default=padding-right}}:6px;pointer-events:none;user-select:none;">[[File:Curly_brackets_white.png|32px|link=]]</span><!-- | | Template = <span style="{{#switch:{{Intlang}}|he=padding-left|#default=padding-right}}:6px;pointer-events:none;user-select:none;">[[File:Curly_brackets_white.png|32px|link=]]</span><!-- | ||
-->{{#if:{{AVAILABLEDOCPAGENAME|{{{docpage|}}}}} | -->{{#if:{{AVAILABLEDOCPAGENAME|{{{docpage|}}}}} | ||
| '''{{Doc/strings|TemplateDoc}}''' | | '''{{Doc/strings|TemplateDoc}}''' [[[{{AVAILABLEDOCPAGENAME|{{{docpage|}}}}}|{{lc:{{int:View}}}}]]] | ||
| '''{{Doc/strings|TemplateDoc}}''' | | '''{{Doc/strings|TemplateDoc}}''' [[[{{DOCPAGENAME|{{{docpage|}}}}}|{{lc:{{int:View}}}}]]] | ||
}} <!-- | }} <!-- | ||
-->{{#if: {{AVAILABLEDOCPAGENAME|translated=1|{{{docpage|}}}}} | -->{{#if: {{AVAILABLEDOCPAGENAME|translated=1|{{{docpage|}}}}} |
Revision as of 09:00, 31 May 2025

This template is used on approximately 1,800 pages and changes may be widely noticed.
Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage.Consider discussing changes on the talk page before implementing them.
Todo: Exclude Sandbox subpage and other from this template. Also do some code cleanup.
Todo: Make this code less shitty.
Todo: Decide what to do with the View button on the right side of the "hat".
The above documentation is transcluded from Template:Doc/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.