Template:Namespace and pagename-detecting templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus added two entries |
meta>Zyxw update links, place actual templates names first and redirected named within parentheses |
||
Line 13: | Line 13: | ||
| group1 = Particular | | group1 = Particular | ||
| list1 = | | list1 = | ||
* {{tlbare| | * {{tlbare|Main other}} ({{tlbare|When in article}}) | ||
* {{tlbare| | * {{tlbare|Talk other}} ({{tlbare|When on talk page}}) | ||
* {{tlbare| | * {{tlbare|Book other}} | ||
* {{tlbare| | * {{tlbare|Category other}} | ||
* {{tlbare| | * {{tlbare|Draft other}} | ||
* {{tlbare| | * {{tlbare|File other}} | ||
* {{tlbare| | * {{tlbare|Help other}} | ||
* {{tlbare| | * {{tlbare|Module other}} | ||
* {{tlbare| | * {{tlbare|Portal other}} | ||
* {{tlbare| | * {{tlbare|Template other}} ({{tlbare|When on template page}}) | ||
* {{tlbare| | * {{tlbare|User other}} ({{tlbare|When on user page}}) | ||
* {{tlbare| | * {{tlbare|Wikipedia other}} | ||
* {{tlbare| | * {{tlbare|Single namespace}} | ||
* {{tlbare|If talkspace of}} | * {{tlbare|If talkspace of}} | ||
* {{tlbare|If usertalk of}} | * {{tlbare|If usertalk of}} | ||
| group2 = More generic | | group2 = More generic | ||
| list2 = | | list2 = | ||
* {{tlbare| | * {{tlbare|Namespace detect}} ({{tlbare|When in namespace}}) | ||
* {{tlbare| | * {{tlbare|Namespace detect showall}} | ||
* {{tlbare| | * {{tlbare|Main talk category other}} | ||
* {{tlbare| | * {{tlbare|Main talk other}} | ||
* {{tlbare| | * {{tlbare|Talkspace detect}} | ||
}} | }} | ||
Line 44: | Line 44: | ||
|style=text-align:left;line-height:1.3em; | |style=text-align:left;line-height:1.3em; | ||
|col1style=padding-right:1.5em; | |col1style=padding-right:1.5em; | ||
| {{tlbare|When on basepage}} | Detects and acts according to whether it is on a basepage, subpage, subsubpage or beyond. | | {{tlbare|When on basepage}} ({{tlbare|Basepage subpage}}) | Detects and acts according to whether it is on a basepage, subpage, subsubpage or beyond. | ||
| {{tlbare|When pagename is}} | For pattern matching on the pagename. | | {{tlbare|When pagename is}} ({{tlbare|If pagename}}) | For pattern matching on the pagename. | ||
| {{tlbare|When on page}} | | {{tlbare|When on page}} ({{tlbare|If pagename multi}}) | For pattern matching on the pagename with input reuse. | ||
| {{tlbare|pgn}} | Can take apart and put together pagenames in several ways. | | {{tlbare|pgn}} | Can take apart and put together pagenames in several ways. | ||
| {{tlbare|IP-talk}} | Returns IP-user talkpage, registered-user talkpage or non-user talkpage. | | {{tlbare|IP-talk}} | Returns IP-user talkpage, registered-user talkpage or non-user talkpage. |
Revision as of 01:17, 6 March 2017
Template documentation
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state=
parameter may be used:
|state=collapsed
–{{Namespace and pagename-detecting templates|state=collapsed}}
to show the template collapsed, i.e., hidden, save for its title bar.|state=expanded
–{{Namespace and pagename-detecting templates|state=expanded}}
to show the template expanded, that is, fully visible.|state=autocollapse
–{{Namespace and pagename-detecting templates|state=autocollapse}}</nowiki>
If the |state=
parameter in the template on this page is not set, the template's initial visibility is taken from the |default=
parameter in the {{Collapsible option}}
template.
- For the template on this page, that currently evaluates to
autocollapse
.
- For the template on this page, that currently evaluates to