Editing
Template:Pagetype/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!
== Main namespace classes == For pages in the main namespace, it is possible to add a class value in the first positional parameter: {{pagetype|''class''}} If the class value matches one of the values in the table below, it will produce an alternative to the default output of <code>article</code>. {| class="wikitable" |- ! Class !! Class values !! Output |- | No applicable class || <code>na</code>, <code>n/a</code> || <code>page</code> |- |} You can input the class value in any combination of upper and lower case. === Custom main namespace classes === It is also possible to specify a custom value for the main namespace classes: {{pagetype|''class''|na=''yes''}} {{pagetype|''class''|na=''custom text''}} This works the same way that it does for the custom namespace page types. Possible parameters are: * '''na''': a custom value for NA-class pages. It works in the same way as the <code>dab</code> parameter. The default value for "<code>yes</code>" etc. is "page". ; Examples {| class="wikitable" |- ! Code !! Result |- | <code><nowiki>{{pagetype|page=United Kingdom}}</nowiki></code> || {{pagetype|page=United Kingdom}} |- | <code><nowiki>{{pagetype|page=United Kingdom|na}}</nowiki></code> || {{pagetype|page=United Kingdom|na}} |- | <code><nowiki>{{pagetype|page=United Kingdom|na|na=custom text}}</nowiki></code> || {{pagetype|page=United Kingdom|na|na=custom text}} |}
Summary:
Please note that all contributions to MycoTaxa may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, 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 (see
MycoTaxa:Copyrights
for details).
Do not submit copyrighted work without permission!
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
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information
In other projects