Difference between revisions of "Template:Cat more"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
m (remove tracking)
imported>Plastikspork
(Merging cat more multi per request)
Line 1: Line 1:
{{Rellink|extraclasses=relarticle mainarticle|For more information, see '''[[{{{1<includeonly>|{{PAGENAME}}</includeonly>}}}{{#if:{{{l1|}}}|{{!}}{{{l1|}}}}}]]'''.}}<noinclude>
+
{{Rellink|extraclasses=relarticle mainarticle|For more information, see '''[[{{{1<includeonly>|{{PAGENAME}}</includeonly>}}}{{#if:{{{l1|}}}|{{!}}{{{l1}}}}}]]'''{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&nbsp;and }} '''[[{{{2}}}{{#if:{{{l2|}}}|{{!}}{{{l2}}}}}]]'''{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |&nbsp;and }} '''[[{{{3}}}{{#if:{{{l3|}}}|{{!}}{{{l3}}}}}]]'''{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |&nbsp;and }} '''[[{{{4}}}{{#if:{{{l4|}}}|{{!}}{{{l4}}}}}]]'''{{#if:{{{5|}}}|&nbsp;and '''[[{{{5}}}{{#if:{{{l5|}}}|{{!}}{{{l5}}}}}]]'''}}}}}}}}.{{#if:{{{6|}}}|<br />&mdash; '''Error: [[Template:Cat more|Too many links specified (maximum is 5)]]'''}}}}<noinclude>
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:56, 4 December 2010

Template:Rellink

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

Usage

{{cat more|WP:WikiProject}} produces: Template:Rellink

{{cat more|WP:WikiProject|l1=WikiProject}} produces: Template:Rellink

Multiple link targets

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Cat more

This templates adds a 'For more information, see ...' statement with a maximum of 5 linked Wiki pages. Each link can be labelled with a user-defined new text. If no label is defined, the link will display with its original page name.

Template parameters

ParameterDescriptionTypeStatus
first link1

First link to a Wiki page, formatted as 'internal' Wiki-link, f.e. 'WP:WikiProject' or 'articlename'

Stringrequired
label first linkl1

Format: l1=labeltext. A user-defined label for the first Wiki-link, f.e. 'WP:WikiProject' as first parameter and 'l1=Project' would display 'Project' but link to 'WP:WikiProject'

Stringoptional
second link2

Second link to another Wiki page, same formatting as the first link. Note: 3 more links 3,4,5 and (optional) labels l3,l4,l5 can be added manually

Stringoptional
label second linkl2

Format: l2=labeltext. A user-defined label for the second Wiki-link. Note: 3 more links 3,4,5 and (optional) labels l3,l4,l5 can be added manually

Stringoptional

Redirects

See also