Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Template:Documentation subpage/doc
(section)
Template page
Views
Read
Edit source
View history
associated-pages
Template
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Usage == : {{Template link expanded|Documentation subpage}} : or : {{Template link expanded|Documentation subpage |[[{{var|Page where the documentation is transcluded}}]]}} ===Userbox documentation=== To set this template to use "userbox" and "userbox page" rather than "{{lc:{{ns:Template}}}}" and "{{lc:{{ns:Template}}}} page" or "{{lc:{{ns:User}}}} template" and "{{lc:{{ns:User}}}} template page", use: : {{Template link expanded|Userbox documentation subpage}} : or : {{Template link expanded|Userbox documentation subpage |[[{{var|userbox page}}]]}} ===Text customization=== The parameters {{para|text1}} and {{para|text2}} can be used to set the text of, respectively, the template's first and second lines. If ''text1'' is set but not ''text2'', both lines' text will derive from ''text1'': {{Hidden begin |showhide=left |title=With ''text1'' and ''text2''}} <code><nowiki>{{Documentation subpage |text1='''''text1 appears here''''' |text2='''''text2 appears here'''''}}</nowiki></code> {{Documentation subpage |[''page''] |text1='''''text1 appears here''''' |text2='''''text2 appears here''''' |override={{lc:{{SUBPAGENAME}}<!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] -->}}}} {{Hidden end}} {{Hidden begin |showhide=left |title=With ''text2'' only}} <code><nowiki>{{Documentation subpage |text2='''''text2 appears here'''''}}</nowiki></code> {{Documentation subpage |[''page''] |text2='''''text2 appears here''''' |override={{lc:{{SUBPAGENAME}}<!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] -->}}}} {{Hidden end}} {{Hidden begin |showhide=left |title=With ''text1'' only}} <code><nowiki>{{Documentation subpage |text1='''''text1 appears here'''''}}</nowiki></code> {{Documentation subpage |[''page''] |text1='''''text1 appears here''''' |override={{lc:{{SUBPAGENAME}}<!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] -->}}}} {{Hidden end}} ===Other parameters=== {{para|inhibit|yes}} will prevent this template from generating any categories. (By default, "''Namespace'' documentation pages" (usually [[:Category:Template documentation pages]]) is added, or [[:Category:Documentation subpages without corresponding pages]] if the main page doesn't exist.)
Summary:
Please note that all contributions to W.K.pedia are considered to be released under the Creative Commons Attribution-ShareAlike (see
awk:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search for pages containing