Template:Cat more

From LNF Wiki
Revision as of 14:33, 24 April 2015 by Kjvowen (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
For more information, see [[{{{1}}}]].
Template documentation[view] [edit] [history] [purge]

Usage

{{cat more|WP:WikiProject}} produces:
For more information, see WP:WikiProject.
{{cat more|WP:WikiProject|l1=WikiProject}} produces:
For more information, see WikiProject.

Multiple link targets

  • {{cat more|1}} produces:
    For more information, see 1.
  • {{cat more|Talk:1|l1=1}} produces:
    For more information, see 1.
  • {{cat more|1|2}} produces:
    For more information, see 1 and 2.
  • {{cat more|Talk:1|l1=1|Talk:2|l2=2}} produces:
    For more information, see 1 and 2.
  • {{cat more|1|2|3}} produces:
    For more information, see 1, 2 and 3.
  • {{cat more|Talk:1|l1=1|Talk:2|l2=2|Talk:3|l3=3}} produces:
    For more information, see 1, 2 and 3.
  • {{cat more|1|2|3|4}} produces:
    For more information, see 1, 2, 3 and 4.
  • {{cat more|Talk:1|l1=1|Talk:2|l2=2|Talk:3|l3=3|Talk:4|l4=4}} produces:
    For more information, see 1, 2, 3 and 4.
  • {{cat more|1|2|3|4|5}} produces:
    For more information, see 1, 2, 3, 4 and 5.
  • {{cat more|Talk:1|l1=1|Talk:2|l2=2|Talk:3|l3=3|Talk:4|l4=4|Talk:5|l5=5}} produces:
    For more information, see 1, 2, 3, 4 and 5.

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

<templatedata> { "description": "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.", "params": { "1": { "label": "first link", "type": "string", "required": true, "description": "First link to a Wiki page, formatted as 'internal' Wiki-link, f.e. 'WP:WikiProject' or 'articlename'" }, "l1": { "label": "label first link", "type": "string", "description": "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'" }, "2": { "label": "second link", "type": "string", "description": "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" }, "l2": { "label": "label second link", "type": "string", "description": "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" } } } </templatedata>

See also