Difference between revisions of "Template:Portal category"
Jump to navigation
Jump to search
test>Sardanaphalus (linkinfo handling) |
test>Sardanaphalus m (simplification (update from /doc page)) |
||
| Line 3: | Line 3: | ||
| text = '''''This category is meant to contain pages in the [[Wikipedia:Portal|portal namespace]]. It should not be used to categorize [[Wikipedia:What is an article?|articles]] or pages in other [[Wikipedia:Namespace|namespace]]s.''''' | | text = '''''This category is meant to contain pages in the [[Wikipedia:Portal|portal namespace]]. It should not be used to categorize [[Wikipedia:What is an article?|articles]] or pages in other [[Wikipedia:Namespace|namespace]]s.''''' | ||
{{#if:{{{1<includeonly>|</includeonly>}}} | {{#if:{{{1<includeonly>|</includeonly>}}} | ||
| − | | {{#ifeq:{{{1|}}}|linkinfo | |<div style="padding:0.25em 0;line-height:1.35em;">{{{1<noinclude>|['' | + | | {{#ifeq:{{{1|}}}|linkinfo | |<div style="padding:0.25em 0;line-height:1.35em;">{{{1<noinclude>|[''description'']</noinclude>}}}</div>}} |
}} }} | }} }} | ||
{{if either |{{strfind short|{{{1|}}}|linkinfo}} |{{{linkinfo<includeonly>|</includeonly>}}} <!----(i.e. if either {{{1}}}="linkinfo" and/or {{{linkinfo}}}=something)----> | {{if either |{{strfind short|{{{1|}}}|linkinfo}} |{{{linkinfo<includeonly>|</includeonly>}}} <!----(i.e. if either {{{1}}}="linkinfo" and/or {{{linkinfo}}}=something)----> | ||
Revision as of 22:31, 9 July 2014
| File:Portal-puzzle.svg | This category is meant to contain pages in the portal namespace. It should not be used to categorize articles or pages in other namespaces.
[description] |
| 40x40px |
|
| 40x40px | This template should not be substituted. |
This template is meant to be placed at the top of pages for categories whose contents are related to portals (i.e. in Wikipedia's portal namespace). Their parent category is Category:Portals. See also Wikipedia:Avoid self-references.
Parameters (optional)
Script error: No such module "aligned table".
See also
Other category-header templates
- Numbered list item
| The above documentation is transcluded from Template:Portal category/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |