Template:Get/doc

From Palia Wiki
Jump to navigation Jump to search

Usage

Use to get data from template parameters. This will be wrapped into a p HTML tag.

!Note: This template will only get the litteral data that was passed into the specified template. This means defaults will be read out as empty!

Syntax

{{Get|template|variable|pagename}}
Field Accepted Parameters Example Notes
template template name ItemInfobox The name of the template to get parameter data from. No template prefix needed.
variable variable name desc The name of a parameter from the selected template
pagename page Name Bacon This is the name of the page you want to get the data from.
If nothing is specified, it will use the name of the page it is on.

Examples

Example Syntax Result
Getting the ingredients from Akwinduu Chapaa
{{Get|ItemInfobox|ingredients|Akwinduu Chapaa}}


Getting the descrition from the ItemInfobox
{{Get|IntermediateIngredientInfobox|desc|Bacon}}

Delicious bacon.