https://wiktenauer.com/index.php?title=Template:Documentation_subpage/doc&feed=atom&action=historyTemplate:Documentation subpage/doc - Revision history2024-03-29T09:07:03ZRevision history for this page on the wikiMediaWiki 1.34.2https://wiktenauer.com/index.php?title=Template:Documentation_subpage/doc&diff=30425&oldid=prevMichael Chidester: 29 revisions2012-10-14T01:39:38Z<p>29 revisions</p>
<p><b>New page</b></p><div>{{documentation subpage}}<br />
__NOTOC__<br />
== Usage ==<br />
{{tl|documentation subpage}}<br />
'''OR'''<br />
{{tlx|documentation subpage|<nowiki>[[</nowiki><var>main page to link to</var><nowiki>]]</nowiki>}}<br />
<br />
=== Userboxes ===<br />
When used to document usage of a [[Wikipedia:Userboxes|userbox]], it may be preferred to have this template state "userbox"/"userbox page" instead of "{{lc:{{ns:Template}}}}"/"{{lc:{{ns:Template}}}} page" or "{{lc:{{ns:User}}}} template"/"{{lc:{{ns:User}}}} template page". If this is preferred, use:<br />
{{tl|userbox documentation subpage}}<br />
'''OR'''<br />
{{tlx|userbox documentation subpage|<nowiki>[[</nowiki><var>main userbox page to link to</var><nowiki>]]</nowiki>}}<br />
<br />
=== Customization of text ===<br />
To manually change the text of the template, the "<code>text1=<var>your text here</var></code>" and/or "<code>text2=<var>your other text here</var></code>" parameters can be specified. "<code>text1=</code>" changes the automatic text on the first line to your own word(s). "<code>text2=</code>" changes the automatic text on the second line to your own word(s). If "<code>text1=</code>" parameter is specified without the "<code>text2=</code>" parameter, both the first and second line of text will be custom based on the text given in the "<code>text1=</code>" parameter.<br />
<br />
Example usage:<br />
{{tlx|documentation subpage|text1<nowiki>=</nowiki><var>custom first and second line text</var>}}<br />
<br />
{{tlx|documentation subpage|text2<nowiki>=</nowiki><var>custom second line text only</var>}}<br />
<br />
{{tlx|documentation subpage|text1<nowiki>=</nowiki><var>custom first line text</var>|text2<nowiki>=</nowiki><var>custom second line text</var>}}<br />
<br />
== How it is displayed ==<br />
This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:<br />
* On a "/doc" page, it displays a box explaining template documentation and links to the template page.<br />
* On other pages (ie, pages transcluding the "/doc" page), the template will not show. The template page itself (which contains <code>{{tl|Documentation}}</code>) will automatically note that the documentation is [[Wikipedia:Transclusion|transcluded]] from a subpage.<br />
<br />
== Functions ==<br />
In addition to the output message, the template categorizes pages to [[:Category:Template documentation pages]], [[:Category:User documentation pages]], or similar (named after the subject space), but only for documentation pages in namespaces with the subpage feature. It defaults the [[m:Help:Categories#Sort order|sort key]] to the page name without namespace (ie, "Foo" on "Template:Foo", so it would be sorted in categories under 'F').<br />
<br />
== See also ==<br />
* [[Wikipedia:Template sandbox and test cases]] for how this template is used.<br />
{{ Documentation/see also }}<br />
<br />
<includeonly><br />
<!-- categories and interwiki links --><br />
[[Category:Template documentation| {{PAGENAME}}]]<br />
[[Category:Template namespace templates]]<br />
<br />
[[als:Vorlage:Dokumentation/Dokuseite]]<br />
[[ar:قالب:صفحة توثيق فرعية]]<br />
[[as:Template:Documentation subpage]]<br />
[[bar:Vorlage:Dokumentation/Dokuseitn]]<br />
[[be-x-old:Шаблён:Падстаронка-дакумэнтацыя]]<br />
[[bg:Шаблон:Подстраница с документация]]<br />
[[bn:টেমপ্লেট:Documentation subpage]] <br />
[[ca:Plantilla:Subpàgina de plantilla]]<br />
[[cs:Šablona:Podstránka s dokumentací]]<br />
[[da:Skabelon:Skabelondokumentationsside vist direkte]]<br />
[[de:Vorlage:Dokumentation/Dokuseite]]<br />
[[eo:Ŝablono:Ŝablona navigado]]<br />
[[es:Plantilla:Subpágina de documentación]]<br />
[[fa:الگو:Documentation subpage]]<br />
[[fr:Modèle:Documentation modèle vue directement]]<br />
[[eu:Txantiloi:Txantiloi dokumentazio azpiorrialdea]]<br />
[[ko:틀:틀 설명문서 안내]]<br />
[[id:Templat:Subhalaman dokumentasi]]<br />
[[is:Snið:Skjalsíða]]<br />
[[ja:template:Documentation subpage]]<br />
[[ka:template:თარგის ინფო გვერდის ხედვა პირდაპირ]]<br />
[[la:Formula:Documentation subpage]]<br />
[[mk:Шаблон:Документација потстрана]]<br />
[[ml:ഫലകം:Template doc page transcluded]]<br />
[[nl:Sjabloon:Sjabdoc direct]]<br />
[[nn:Mal:Dokumentasjonsunderside]]<br />
[[no:Mal:Dokumentasjonsunderside]]<br />
[[pl:Szablon:Podstrona dokumentacji]]<br />
[[pt:Predefinição:Subpágina de documentação]]<br />
[[ro:template:Template doc page viewed directly]]<br />
[[ru:Шаблон:Docpage]]<br />
[[simple:Template:Documentation subpage]]<br />
[[sl:template:Dokumentacijska podstran]]<br />
[[sl:template:Dokumentacijska podstran]]<br />
[[sq:Stampa:Documentation subpage]]<br />
[[sv:Mall:Dokumentationssida]]<br />
[[tpi:Template:Documentation subpage]]<br />
[[th:แม่แบบ:Documentation subpage]]<br />
[[tn:Template:Documentation subpage]]<br />
[[ta:வார்ப்புரு:Documentation subpage]]<br />
[[tr:Şablon:Şablon belge sayfası]]<br />
[[uk:Шаблон:Підсторінка документації]]<br />
[[ur:Template:Documentation subpage]]<br />
[[zh:模板:Template doc page viewed directly]]<br />
</includeonly></div>Michael Chidester