Difference between revisions of "Template:Portal category"

From blackwiki
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>|[''optional description'']</noinclude>}}}</div>}}
+
     | {{#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

Template documentation[view] [edit] [history] [purge]

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

  1. Numbered list item