Difference between revisions of "Template:ParentArticle"

From Worms Knowledge Base

Jump to: navigation, search
(I think "Softwares" is gramatically incorrect)
(Blanked the page)
Line 1: Line 1:
<div id="contentSub3">(Up to {{{1}}})</div><!--
 
  
--><includeonly>{{#if: {{{nocat|}}} | | {{{category|{{#switch: {{{1|}}}
 
|[[People]] = [[Category:People|{{#titleparts: {{uc:{{SUBPAGENAME}}}} | | -1 }}]]
 
|[[Software]] = [[Category:Software]]
 
}}}}} }}</includeonly><noinclude>
 
----
 
 
===Usage===
 
<nowiki>{{ParentArticle|[[a target article]]}}</nowiki>
 
 
===Categorization===
 
Note that this template add pages to categories if the parameter is one of the following:
 
{|
 
|-
 
! Parameter !! Category to which the pages will be added
 
|-
 
| <code>&#91;&#91;[[People]]&#93;&#93;</code> || [[:Category:People]]
 
|-
 
| <code>&#91;&#91;[[Software]]&#93;&#93;</code> || [[:Category:Software]]
 
|}
 
To exclude a page from being categorized, add <code>category=</code> or <code>nocat=1</code>.
 
<nowiki>{{ParentArticle|[[a target article]]|nocat=1}}</nowiki>
 
 
</noinclude>
 

Revision as of 11:40, 17 November 2010

Personal tools