Editing
Template:Main other/doc
(section)
Jump to navigation
Jump to search
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!
===Basic usage=== This template usually takes two parameters, like this: : {{Tlc|main other |{{var|result if in mainspace}} |{{var|result if elsewhere}}}} If the template is on a main space (article) page, it will return this: : {{main other |demospace=main |{{var|result if in mainspace}} |{{var|result if elsewhere}} }} If the template is on any other page, it will return this: : {{main other |{{var|result if in mainspace}} |{{var|result if elsewhere}} }} A typical usage case would be to warn that a template should not be used on non-article pages: : {{Tlc|main other | |This template should only be used in articles.}} or vice versa: : {{Tlc|main other |This template should not be used in articles.| }} Note that in the first case above the "main" parameter was not used, and in the second example the "other" parameter was left empty.
Summary:
By saving changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Donate
Tools
What links here
Related changes
Upload file
Special pages
Page information