Jump to content

Template:Topic series doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m clean up
Line 1: Line 1:
{{Documentation
<noinclude>{{Documentation
| content =<noinclude>
| content =
== Purpose ==
== Purpose ==


Line 18: Line 18:
== Usage (of this template) ==
== Usage (of this template) ==
* Like the general {{tl|Documentation}} template, place {{tlc|Topic series doc}} between [[WP:NOINCLUDE|<nowiki><noinclude></nowiki>]] tags below the template code. Be sure to place the first tag, <code><nowiki><noinclude></nowiki></code> (the opening tag), after the very last code of the template. If the opening tag is placed on its own line below the template code, then it will introduce undesirable whitespace below the end-product template.
* Like the general {{tl|Documentation}} template, place {{tlc|Topic series doc}} between [[WP:NOINCLUDE|<nowiki><noinclude></nowiki>]] tags below the template code. Be sure to place the first tag, <code><nowiki><noinclude></nowiki></code> (the opening tag), after the very last code of the template. If the opening tag is placed on its own line below the template code, then it will introduce undesirable whitespace below the end-product template.
* The "Usage" header below and the text (code) beneath it will be included in the template documentation under that header unless altered by the <code><nowiki>usage=</nowiki></code> parameter.</noinclude><includeonly>
* The "Usage" header below and the text (code) beneath it will be included in the template documentation under that header unless altered by the <code><nowiki>usage=</nowiki></code> parameter.
}}</noinclude>{{Documentation
<table class="plainlinks advert" role="presentation" style="margin: 0 10%; border: 1px solid #aaa; border-left: 10px solid #1e90ff; background: #fbfbfb;"><tr><td class="mbox-image" style="width:55px">[[File:Handheld devices no.svg|55px|link=|alt=]]</td><td class="mbox-text"><span class="mbox-text-span">This template does not display in the mobile view of Wikipedia; it is <strong>desktop only</strong>. Read the [[Template:Sidebar/doc|parent documentation]] for an explanation.</span></td></tr></table></includeonly>
| content =<table class="plainlinks advert" role="presentation" style="margin: 0 10%; border: 1px solid #aaa; border-left: 10px solid #1e90ff; background: #fbfbfb;"><tr><td class="mbox-image" style="width:55px">[[File:Handheld devices no.svg|55px|link=|alt=]]</td><td class="mbox-text"><span class="mbox-text-span">This template does not display in the mobile view of Wikipedia; it is <strong>desktop only</strong>. Read the [[Template:Sidebar/doc|parent documentation]] for an explanation.</span></td></tr></table>
{{{header|}}}
{{#if:{{{header|}}}|{{{header|}}}|}}
== Usage ==
== Usage ==
{{#if:{{{usage|}}}|{{{usage}}}|
{{#if:{{{usage|}}}|{{{usage}}}|
Line 27: Line 28:
{{#ifexist:Template:{{Remove last word|{{PAGENAME}} }}|
{{#ifexist:Template:{{Remove last word|{{PAGENAME}} }}|
== See also ==
== See also ==
* [[Template:{{Remove last word|{{PAGENAME}} }}]]
* [[Template:{{Remove last word|{{PAGENAME}} }}]]{{#if:{{{also|}}}|
* [[{{{also|}}}]] }}
* [[{{{also|}}}]] |}}
{{{footer|}}}<!--
}}{{#if:{{{footer|}}}|{{{footer|}}}|}}
--><!-- *** transclusion of /doc if it exists *** -->
<!-- *** transclusion of /doc if it exists *** -->
{{#ifexist:{{FULLPAGENAME}}/doc|{{{{FULLPAGENAME}}/doc}}
{{#ifexist:{{FULLPAGENAME}}/doc|{{{{FULLPAGENAME}}/doc}}
}}|link box=This documentation is transcluded from [[Template:Topic series doc]]. <span style="font-size:small; font-style: normal line-height:130%">([{{fullurl:Template:Topic series doc|action=edit}} edit] &#124; [{{fullurl:Template:Topic series doc|action=history}} history])</span><br />Editors can experiment in this {{#switch: {{SUBJECTSPACE}} | {{ns:module}} = module's | #default = template's}} {{
}}

|link box=This documentation is transcluded from [[Template:Topic series doc]]. <span style="font-size:small; font-style: normal line-height:130%">([{{fullurl:Template:Topic series doc|action=edit}} edit] &#124; [{{fullurl:Template:Topic series doc|action=history}} history])</span><br />Editors can experiment in this {{#switch: {{SUBJECTSPACE}} | {{ns:module}} = module's | #default = template's}} {{
#ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}}
#ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}}
| [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|sandbox]] <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} edit] <nowiki>|</nowiki> [{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} diff])</small>
| [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|sandbox]] <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} edit] <nowiki>|</nowiki> [{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} diff])</small>
| sandbox <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}sandbox }} create] <nowiki>|</nowiki> [{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary={{urlencode:Create sandbox version of [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} mirror])</small>
| sandbox <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}sandbox }} create] <nowiki>|</nowiki> [{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary={{urlencode:Create sandbox version of [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} mirror])</small>
}} and {{
}} and {{
Line 43: Line 42:
| testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}testcases }} create])</small>
| testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}testcases }} create])</small>
}} pages. <br />{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop
}} pages. <br />{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop
|<br/>This template is [[WP:PROTECT|fully protected]] and any [[WP:CAT|categories]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which is not protected, while [[H:ILL|interlanguage links]] should be added to Wikidata. For more information see [[Wikipedia:Wikidata]].
|<br />This template is [[WP:PROTECT|fully protected]] and any [[WP:CAT|categories]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which is not protected, while [[H:ILL|interlanguage links]] should be added to Wikidata. For more information see [[Wikipedia:Wikidata]].
}}}}<includeonly>{{#ifeq:{{{nocats|no}}}|yes | |{{DEFAULTSORT:{{{sort|}}}}}[[Category:{{{cat|"Part of a series on" sidebar templates}}}]][[Category:Exclude in print]] }}</includeonly><noinclude>
}}
}}<includeonly>{{#ifeq:{{{nocats|no}}}|yes | |{{DEFAULTSORT:{{{sort|}}}}}[[Category:{{{cat|"Part of a series on" sidebar templates}}}]][[Category:Exclude in print]] }}</includeonly><noinclude>

{{#ifeq:{{SUBPAGENAME}}|sandbox||
{{#ifeq:{{SUBPAGENAME}}|sandbox||
[[Category:Documentation shared content templates]]
[[Category:Documentation shared content templates]]

Revision as of 19:32, 29 December 2019