Difference between revisions of "Template:Category main section"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
m (moved Template:Catmoresub to Template:Cat main section: More descriptive)
imported>Plastikspork
(Use rellink?)
Line 1: Line 1:
:<div class="boilerplate" id="catmore">''The main section for this [[Wikipedia:Categorization|category]] can be found in the article '''[[{{{1|Example article}}}]]''', in the section titled '''[[{{{1|Example article}}}#{{{2|Example section}}}|{{{2|Example section}}}]]'''.''</div><noinclude>
+
{{Rellink|extraclasses=relarticle mainarticle|The main section for this [[Wikipedia:Categorization|category]] can be found in the article '''[[{{{1}}}]]''', in the section titled '''[[{{{1}}}#{{{2}}}|{{{2}}}]]'''.}}</div><noinclude>
  
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Revision as of 23:52, 26 September 2010

Template:Rellink

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

Usage

This template is for use on category pages to refer to the primary section within an article associated with this category, which most of the time describes the entire set containing the category.

{{Category main section|article|section}}

The parameter |article=no changes "in the article" to "on the page" if the main page for the category is not an article.

{{Category main section|article|section|article=no}}

Example

Using {{Category main section|Mathematics|History}} produces the following result

Template:Rellink

See also