మూస:Namespace and pagename-detecting templates: కూర్పుల మధ్య తేడాలు
Content deleted Content added
add links |
Derived from {{[Namespace/Pagename] detect see-also}} |
||
పంక్తి 1:
{{Navbox
| name = Namespace and pagename-detecting templates
| state = {{{state|{{{1|<noinclude>expanded</noinclude>}}}}}}
| title = Namespace and pagename-detecting templates
| group1 = [[Wikipedia:Namespace|Namespace]]
| list1 =
* {{tl|pgn}} – Can take apart and put together pagenames in several ways.▼
{{Navbox |child |groupstyle=font-weight:normal;
* {{tl|if pagename}} – For pattern matching on the pagename.▼
| group1 = "''X'' other"{{thinsp}}{{smallsup|1}}
| list1 = {{startflatlist}}
* {{
* {{tlbare|talk other}}
* {{tlbare|book other}}
* {{tlbare|category other}}
* {{tlbare|draft other}}
* {{tlbare|file other}}
* {{tlbare|help other}}
* {{tlbare|module other}}
* {{tlbare|portal other}}
* {{tlbare|template other}}
* {{tlbare|user other}}
* {{tlbare|wikipedia other}}
{{endflatlist}}
| group2 = More generic
| list2 = {{startflatlist}}
* {{tlbare|namespace detect showall}}
* {{tlbare|main talk other}}
* {{tlbare|talkspace detect}}
}}
<!---group2 omitted to maintain alternating list backgrounds--->
| group3 = [[Wikipedia:Page name|Pagename]]
| list3 =
{{Aligned table
|style=text-align:left;line-height:1.3em;
|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|IP-talk}} | Returns IP-user talkpage, registered-user talkpage or non-user talkpage.
}}
| list5 = <div class="navbox-abovebelow" style="font-size:90%;">{{smallsup|1}} Detect and act according to whether they are on a page in the namespace ''X'' or elsewhere.</div>
| below = {{startflatlist}}
▲* {{tl|namespace detect}} – The very versatile one.
* [[Wikipedia:Namespace]]
* [[Wikipedia:Page name]]
▲* {{tl|main talk category other}} – Separates some namespaces.
* [[mw:Help:Magic words|Magic words]]
* [[mw:Help:Extension:ParserFunctions|ParserFunctions]]
{{endflatlist}}
}}<noinclude>
| content =
{{Collapsible option |statename=optional}}
[[Category:Documentation see also templates]]
[[Category:Template namespace templates]]
}}<!--(end Documentation)-->
▲{{Documentation}}
</noinclude>
|