Template:Template category: Difference between revisions

From IxWiki
Jump to navigation Jump to search
m (1 revision imported)
wp>Andrybak
(make copy-pasting from the help text easier)
Line 63: Line 63:
                 {{#ifeq:{{{type|}}}|module|{{Unbulleted list |list_style=padding-left:1.4em;
                 {{#ifeq:{{{type|}}}|module|{{Unbulleted list |list_style=padding-left:1.4em;
                 | In the documentation page (usually named "Module:''Name''/doc"), add
                 | In the documentation page (usually named "Module:''Name''/doc"), add
                 | {{pad}}<kbd>{{brackets|{{FULLPAGENAME}}}}</kbd>
                 | {{pad|css=user-select:none;}}<kbd>{{brackets|{{FULLPAGENAME}}}}</kbd>
                 | to the <nowiki><includeonly></nowiki> section at the bottom of that page.
                 | to the <nowiki><includeonly></nowiki> section at the bottom of that page.
               }}|{{Unbulleted list |list_style=padding-left:1.4em;
               }}|{{Unbulleted list |list_style=padding-left:1.4em;
                   | If the template has a separate documentation page (usually called "{{#ifeq:{{{type|}}}|module|Module|Template}}:''template name''/doc"), add
                   | If the template has a separate documentation page (usually called "{{#ifeq:{{{type|}}}|module|Module|Template}}:''template name''/doc"), add
                   | {{pad}}<kbd>&#91;&#91;{{FULLPAGENAME}}&#93;&#93;</kbd>
                   | {{pad|css=user-select:none;}}<kbd>&#91;&#91;{{FULLPAGENAME}}&#93;&#93;</kbd>
                   | to the <nowiki><includeonly></nowiki> section at the bottom of that page. Otherwise, add
                   | to the <nowiki><includeonly></nowiki> section at the bottom of that page. Otherwise, add
                   | {{pad}}<kbd>&lt;noinclude&gt;&#91;&#91;{{FULLPAGENAME}}&#93;&#93;&lt;/noinclude&gt;</kbd>
                   | {{pad|css=user-select:none;}}<kbd>&lt;noinclude&gt;&#91;&#91;{{FULLPAGENAME}}&#93;&#93;&lt;/noinclude&gt;</kbd>
                   | to the end of the template code, making sure it starts on the same line as the code's last character.
                   | to the end of the template code, making sure it starts on the same line as the code's last character.
                 }} }} }}
                 }} }} }}

Revision as of 08:50, 1 April 2023