Difference between revisions of "Template:Cat more if exists"

From blackwiki
Jump to navigation Jump to search
imported>MusikBot II
m (Protected "Template:Cat more if exists": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
imported>BrownHairedGirl
Line 1: Line 1:
{{Cat more if exists/core<!--
+
<includeonly>{{#invoke:Cat more if exists|main|warning=yes}}</includeonly><noinclude>{{Documentation}}</noinclude>
    -->|1={{#if: {{{1|{{PAGENAME}}}}} | {{#ifexist: {{{1|{{PAGENAME}}}}} | {{Trim|{{{1|{{PAGENAME}}}}}}} }}}}<!--
 
    -->|2={{#if: {{{2|}}} | {{#ifexist: {{{2|}}} | {{Trim|{{{2|}}}}} }}}}<!--
 
    -->|3={{#if: {{{3|}}} | {{#ifexist: {{{3|}}} | {{Trim|{{{3|}}}}} }}}}<!--
 
    -->|4={{#if: {{{4|}}} | {{#ifexist: {{{4|}}} | {{Trim|{{{4|}}}}} }}}}<!--
 
    -->|5={{#if: {{{5|}}} | {{#ifexist: {{{5|}}} | {{Trim|{{{5|}}}}} }}}}<!--
 
    -->|6={{#if: {{{6|}}} | {{#ifexist: {{{6|}}} | {{Trim|{{{6|}}}}} }}}}<!--
 
    -->|7={{#if: {{{7|}}} | {{#ifexist: {{{7|}}} | {{Trim|{{{7|}}}}} }}}}<!--
 
    -->|8={{#if: {{{8|}}} | {{#ifexist: {{{8|}}} | {{Trim|{{{8|}}}}} }}}}<!--
 
    -->|9={{#if: {{{9|}}} | {{#ifexist: {{{9|}}} | {{Trim|{{{9|}}}}} }}}}<!--
 
    -->|l1={{{l1|}}}<!--
 
    -->|l2={{{l2|}}}<!--
 
    -->|l3={{{l3|}}}<!--
 
    -->|l4={{{l4|}}}<!--
 
    -->|l5={{{l5|}}}<!--
 
    -->|l6={{{l6|}}}<!--
 
    -->|l7={{{l7|}}}<!--
 
    -->|l8={{{l8|}}}<!--
 
    -->|l9={{{l9|}}}<!--
 
-->}}<!--
 
--><noinclude>
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->{{Documentation}}
 
</noinclude>
 

Revision as of 14:50, 3 October 2020

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

Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value). A variant of {{Cat more}} which links only to pages which actually exist

Usage

{{cat more if exists|Spain}} produces: Script error: No such module "Cat more if exists".

{{cat more if exists|xyx1234567 this page no exist}} produces: Script error: No such module "Cat more if exists".

Multiple link targets

{{cat more if exists|Spain|Japan|France}} produces: Script error: No such module "Cat more if exists".

{{cat more if exists|Planet G45401|Spain|Xyzabcdefistan|Japan|France}} produces: Script error: No such module "Cat more if exists".

{{cat more if exists|Planet G45401|Spain|Xyzabcdefistan|South Qwetryopitania}} produces: Script error: No such module "Cat more if exists".

{{cat more if exists|Planet G45401|Xyzabcdefistan}} produces: Script error: No such module "Cat more if exists".

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 if exists

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
second link2

Second link to another Wiki page, same formatting as the first link. Note: 3 more links 3,4,5 can be added manually

Stringoptional

Redirects

See also