Template:Namespace and pagename-detecting templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
m brackets
meta>Sardanaphalus
subgroup name, footnote
Line 11: Line 11:
   |groupstyle=font-weight:normal;
   |groupstyle=font-weight:normal;
   |listclass=hlist
   |listclass=hlist
  | group1style = line-height:1.25em;
   | group1 = "When on [ns] page"{{padlssup|1}}
   | group1 = "When on ''ns'' page"<br/>{{nobold|("''ns'' other"{{padlssup|1}})}}
   | list1 =
   | list1 =
* {{tlbare|When in article}}&nbsp;({{tlbare|main other}})
* {{tlbare|When in article}}&nbsp;({{tlbare|main other}})
Line 39: Line 38:
| group3 = [[Wikipedia:Page name|Pagename]]
| group3 = [[Wikipedia:Page name|Pagename]]
| list3 =
| list3 =
{{Aligned table
  {{Aligned table
  |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}} | 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}} | For pattern matching on the pagename.
  | {{tlbare|When on page}}    | For pattern matching on the pagename with input reuse.
  | {{tlbare|When on page}}    | 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.
  | {{tlbare|IP-user other}}    | For detecting IP-user pages.
  | {{tlbare|IP-user other}}    | For detecting IP-user pages.
}}
  }}


| list5 = <div class="navbox-abovebelow">{{smallsup|1}} Detect and act according to whether they are on a page in the namespace ''ns'' or elsewhere.</div>
| list5 = <div class="navbox-abovebelow hlist">
* {{sup|1}} Where "[ns]" is the name of a [[Wikipedia:Namespace|Wikipedia namespace]] ("user", "wikipedia", etc), i.e. templates that act according to whether they are on a page in a particular namespace or elsewhere ("other").
</div>


| belowclass = hlist
| belowclass = hlist

Revision as of 09:46, 9 December 2014