Template:Infobox Object: Difference between revisions
Jump to navigation
Jump to search
GameMaster (talk | contribs) (Created page with "<includeonly>{{raw:scGM:Infobox Object |type={{{type|}}} |name = {{{name|}}} |image = {{{image|}}} |link = {{{link|}}} |damage = {{{damage|}}...") |
GameMaster (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{raw:scGM:Infobox Object |type={{{type|}}} | <includeonly>{{{!}} 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 = [[Category:Artifacts]] | |||
| item = [[Category:Objects]] | |||
| weapon = [[Category:Weapons]] | |||
| #default = [[Category:Objects]] | |||
}}</includeonly><noinclude> | |||
==Example use== | |||
<nowiki>{{Infobox Object |type=<weapon/artifact/item/object> | |||
|name = | |||
|image = | |||
|link = | |||
|damage = | |||
|ranges = | |||
|capacity = | |||
|clip = | |||
|initiative = | |||
|strength = | |||
|blast = | |||
|force = | |||
|tags = | |||
|effects = | |||
|size = | |||
|availability = | |||
|cost = | |||
}}</nowiki> | |||
[[Category:Templates]] | |||
==Templates== | |||
=== Artifacts === | |||
{{Hide| | | |||
<nowiki>{{Infobox Object |type=artifact | |||
|name = | |||
|image = | |||
|link = | |||
|effects = | |||
|size = | |||
|availability = | |||
|cost = | |||
}}</nowiki> | |||
}} | |||
<!--<includeonly>{{raw:scGM:Infobox Object |type={{{type|}}} | |||
|name = {{{name|}}} | |name = {{{name|}}} | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
Line 44: | Line 110: | ||
|cost = | |cost = | ||
}}</nowiki> | }}</nowiki> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude>--> |
Revision as of 21:19, 13 April 2017
Example use
{{Infobox Object |type=<weapon/artifact/item/object> |name = |image = |link = |damage = |ranges = |capacity = |clip = |initiative = |strength = |blast = |force = |tags = |effects = |size = |availability = |cost = }}
Templates
Artifacts
{{Infobox Object |type=artifact |name = |image = |link = |effects = |size = |availability = |cost = }} |