Template:Arguments

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search

Purpose

Uses Special:CargoTables/TransclusionArguments to construct a table that identifies which pages use a certain template with certain arguments.

Usage

Required ParametersAll Parameters
{{Arguments
|template= 
|parameter= 
|header= 
}}
{{Arguments
|template= 
|parameter= 
|header= 
|argument= 
|isValid= 
|limit= 
}}
ParameterStatusDescriptionAccepted valuesDefault value
templaterequiredA template name.
parameterrequiredA parameter name for the given template.
headerrequiredA header value for the resulting table.
argumentoptionalA specific argument value to query for, if desired.
isValidoptionalIf empty, the query will be for all arguments. If yes, only valid arguments are included. If no, only invalid arguments are included.
  • yes
  • no
limitoptionalLimits the number of rows in the generated table.5000

Uses [[Special:CargoTables/TransclusionArguments]] to construct a table that identifies which pages use a certain template with certain arguments.

Template parameters

ParameterDescriptionTypeStatus
templatetemplate

A template name.

Templaterequired
parameterparameter

A parameter name for the given template.

Stringrequired
headerheader

A header value for the resulting table.

Unknownrequired
argumentargument

A specific argument value to query for, if desired.

Stringoptional
isValidisValid

If empty, the query will be for all arguments. If <code>yes</code>, only valid arguments are included. If <code>no</code>, only invalid arguments are included.

Unknownoptional
limitlimit

Limits the number of rows in the generated table.

Unknownoptional

Examples

#InputOutput
Pages using {{Icon|TWWHD Eighth Note}}
1
{{Arguments
|template= Template:Icon
|parameter= 1
|header= Color Name
|argument= TWWHD Eighth Note
}}
Total pages: 3 [purge]
Color NamePage CountPages
TWWHD Eighth Note3Dragon Roost PondTemplate:IconTemplate:Icon/Documentation
Category:Articles using invalid icon names#Summary
2
{{Arguments
|template= Template:Icon
|parameter= 1
|header= Icon Code
|isValid= no
|limit= 3
}}
Total pages: 80 [purge]
Icon CodePage CountPages
TPHD R7Chuchu JellyGhost LanternGood SoupIron BootsOrdon Goat CheeseSimple SoupSuperb Soup
TPHD Y7Chuchu JellyGhost LanternGood SoupIron BootsOrdon Goat CheeseSimple SoupSuperb Soup
TotK X6Hero's Path ModeKey ItemKey Items in Tears of the KingdomLadderOperation InstructionsTips and Tricks
The above documentation is transcluded from Template:Arguments/Documentation. (edit | history)