Template:Infobox Object: Difference between revisions
Jump to navigation
Jump to search
GameMaster (talk | contribs) No edit summary |
GameMaster (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | <includeonly>{{#ifeq:{{lc:{{{type|}}}}}|artifact|{{pageHeader|{{{name|}}}}}}} | ||
| | {{{!}} class="floatright" style="width: 300px;" | ||
{{#if: {{{image|}}}| | |||
| | {{!}}colspan="2" style="text-align:center;" {{!}} [[File:{{{type|}}}_{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}.{{{image|}}}{{!}}290px{{!}}]] | ||
{{!}}-}} | |||
| | <!-- Weapons --> | ||
| | {{#if:{{{damage|}}}|{{infobox|section|'''Damage:'''|{{{damage|}}}}}}} | ||
| | {{#if:{{{ranges|}}}|{{infobox|section|'''Ranges:'''|{{{ranges|}}}}}}} | ||
| | {{#if:{{{capacity|}}}|{{infobox|section|'''Capacity:'''|{{{capacity|}}}}}}} | ||
| | {{#if:{{{clip|}}}|{{infobox|section|'''Clip:'''|{{{clip|}}}}}}} | ||
| | {{#if:{{{initiative|}}}|{{infobox|section|'''Initiative:'''|{{{initiative|}}}}}}} | ||
{{#if:{{{strength|}}}|{{infobox|section|'''Strength:'''|{{{strength|}}}}}}} | |||
| | <!-- Explosives --> | ||
| | {{#if:{{{blast|}}}|{{infobox|section|'''Blast Area:'''|{{{blast|}}}}}}} | ||
{{#if:{{{force|}}}|{{infobox|section|'''Force:'''|{{{force|}}}}}}} | |||
| | <!-- Generic --> | ||
| | {{#if:{{{size|}}}|{{infobox|section|'''Size:'''|{{{size|}}}}}}} | ||
{{#if:{{{availability|}}}|{{infobox|section|'''Availability:'''|{{O|{{{availability|}}}}}}}}} | |||
| | {{#if:{{{cost|}}}|{{infobox|section|'''Cost:'''|{{$|{{{cost|}}}}}}}}} | ||
| | {{#if:{{{tags|}}}|{{infobox|section|'''Tags:'''|{{{tags|}}}}}}} | ||
| | {{#if:{{{effects|}}}|{{infobox|section|'''Effects:'''|{{{effects|}}}}}}} | ||
}} | {{!}}}{{#switch: {{lc:{{{type|}}}}} | ||
| artifact = {{#ifeq:{{{active|}}}|no|[[Category:Inactive (Artifact)]]|[[Category:Artifacts]]}} | |||
| item = [[Category:Objects]] | |||
| weapon = [[Category:Weapons]] | |||
| #default = [[Category:Objects]] | |||
}}</includeonly><noinclude> | |||
==Example use== | ==Example use== | ||
<nowiki>{{Infobox Object |type=<weapon/artifact/item/object> | <nowiki>{{Infobox Object |type=<weapon/artifact/item/object> |active=<default:null/yes/no> | ||
|name = | |name = | ||
|image = | |image = | ||
Line 38: | Line 43: | ||
|tags = | |tags = | ||
|effects = | |effects = <!-- List below --> | ||
|size = | |||
|availability = | |||
|cost = | |||
}}</nowiki> | |||
[[Category:Templates]] | |||
==Templates== | |||
=== Artifacts === | |||
{{Hide| | | |||
<nowiki>{{Infobox Object |type=Artifact |active=<yes/no> | |||
|name = | |||
|image = | |||
|link = | |||
|effects = <!-- List below --> | |||
|size = | |size = | ||
Line 44: | Line 65: | ||
|cost = | |cost = | ||
}}</nowiki> | }}</nowiki> | ||
}} |
Latest revision as of 13:09, 4 January 2024
Example use
{{Infobox Object |type=<weapon/artifact/item/object> |active=<default:null/yes/no> |name = |image = |link = |damage = |ranges = |capacity = |clip = |initiative = |strength = |blast = |force = |tags = |effects = <!-- List below --> |size = |availability = |cost = }}
Templates
Artifacts
{{Infobox Object |type=Artifact |active=<yes/no> |name = |image = |link = |effects = <!-- List below --> |size = |availability = |cost = }} |