Difference between revisions of "Template:Ranges"
Jump to navigation
Jump to search
WikimanBot (talk | contribs) (template) |
WikimanBot (talk | contribs) |
||
Line 1: | Line 1: | ||
{{#if:<noinclude>string</noinclude>{{{sight|}}} | {{{sight}}}<small> (sight) </small> | }}{{ | {{#if:<noinclude>string</noinclude>{{{sight|}}} | {{{sight}}}<small> (sight) </small> | }}{{ | ||
− | #if:<noinclude>string</noinclude>{{{attack|}}} | {{{attack} | + | #if:<noinclude>string</noinclude>{{{attack|}}} | {{{attack}}} {{#if:<noinclude>string</noinclude>{{{optimal|}}} | ({{{optimal}}}) | }}<small> (attack/optimal) </small> | }}<noinclude> |
− | #if:<noinclude>string</noinclude>{{{optimal|}}} | {{{optimal}}}<small> (optimal) </small> | }}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Revision as of 19:53, 29 January 2018
{{{sight}}} (sight) {{{attack}}} ({{{optimal}}}) (attack/optimal)
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Ranges/doc to view this documentation. (edit) (How does this work?)
Visit Template:Ranges/doc to view this documentation. (edit) (How does this work?)
- Description
- This template is used for inline list of ranges inside character infoboxes.
- Syntax
- Insert this template with
{{ranges|sight=|attack=|optimal=}}
and fill in known parameters. All are optional.
- Example
{{ranges|sight=8|attack=10|optimal=7}}
results in 8 (sight) 10 (7) (attack/optimal){{ranges|sight=|attack=10|optimal=7}}
results in 10 (7) (attack/optimal){{ranges|sight=8|attack=10|optimal=}}
results in 8 (sight) 10 (attack/optimal)