Template:Namespace and pagename-detecting templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Zyxw update links, place actual templates names first and redirected named within parentheses |
meta>Frietjes No edit summary |
||
| Line 32: | Line 32: | ||
* {{tlbare|Namespace detect}} ({{tlbare|When in namespace}}) | * {{tlbare|Namespace detect}} ({{tlbare|When in namespace}}) | ||
* {{tlbare|Namespace detect showall}} | * {{tlbare|Namespace detect showall}} | ||
* {{tlbare|Main talk other}} | * {{tlbare|Main talk other}} | ||
* {{tlbare|Talkspace detect}} | * {{tlbare|Talkspace detect}} | ||
| Line 46: | Line 45: | ||
| {{tlbare|When on basepage}} ({{tlbare|Basepage subpage}}) | 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}} ({{tlbare|If pagename}}) | For pattern matching on the pagename. | | {{tlbare|When pagename is}} ({{tlbare|If pagename}}) | For pattern matching on the pagename. | ||
| {{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 15:09, 9 April 2017
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