Site News
Warning: This wiki contains spoilers. Read at your own risk!

Social media: If you would like, please join our Discord server, and/or follow us on X (Twitter) or Tumblr!

Template:Get: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
mNo edit summary
mNo edit summary
 
Line 2: Line 2:
tables={{{1|Classes_FE3}}}
tables={{{1|Classes_FE3}}}
|fields={{{2|str}}}
|fields={{{2|str}}}
|where={{{string|name}}}="{{{3|Cavalier}}}" {{#if: {{{string2value|}}} | {{{string2def}}} {{{string2|name}}}="{{{string2value|}}}" | }}
|where={{{string|name}}}="{{#invoke:string|replace|{{{3|Cavalier}}}|&|&}}" {{#if: {{{string2value|}}} | {{{string2def}}} {{{string2|name}}}="{{{string2value|}}}" | }}
|{{#if: {{{4|}}} | | no html}}
|{{#if: {{{4|}}} | | no html}}
|{{#if: {{{limit|}}} | limit={{{limit}}} | }}
|{{#if: {{{limit|}}} | limit={{{limit}}} | }}

Latest revision as of 15:58, 11 May 2024

5

Usage

Template used for getting a value from certain cargo tables by comparing a string to a given value.

{{get
|table_name
|value you want
|string=string name (defaults to name)
|string2def=AND/OR
|string2=
|string2value=
|what said string should be
|y (include this parameter only if the value you want is wikitext)
|limit=amount of values to display if multiple exist (no limit if not entered)
|offset=
|order=
|more=
}}