Template:Infobox Object: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{lc:{{{type|}}}}}|artifact|{{pageHeader|{{{name|}}}}}}}{{{!}} class="floatright" style="width: 300px;"
<includeonly>{{raw:scWoD:Infobox Object |type={{{type|}}}
{{#if: {{{image|}}}|
|name          = {{{name|}}}
{{!}}colspan="2" style="text-align:center;" {{!}} [[File:{{{type|}}}_{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}.{{{image|}}}{{!}}290px{{!}}]]
|image        = {{{image|}}}
{{!}}-}}
|link          = {{{link|}}}
<!--            Weapons            -->
 
{{#if:{{{damage|}}}|{{infobox|section|'''Damage:'''|{{{damage|}}}}}}}
|damage       = {{{damage|}}}
{{#if:{{{ranges|}}}|{{infobox|section|'''Ranges:'''|{{{ranges|}}}}}}}
|ranges       = {{{ranges|}}}
{{#if:{{{capacity|}}}|{{infobox|section|'''Capacity:'''|{{{capacity|}}}}}}}
|capacity     = {{{capacity|}}}
{{#if:{{{clip|}}}|{{infobox|section|'''Clip:'''|{{{clip|}}}}}}}
|clip         = {{{clip|}}}
{{#if:{{{initiative|}}}|{{infobox|section|'''Initiative:'''|{{{initiative|}}}}}}}
|initiative   = {{{initiative|}}}
{{#if:{{{strength|}}}|{{infobox|section|'''Strength:'''|{{{strength|}}}}}}}
|strength     = {{{strength|}}}
<!--            Explosives            -->
 
{{#if:{{{blast|}}}|{{infobox|section|'''Blast Area:'''|{{{blast|}}}}}}}
|blast         = {{{blast|}}}
{{#if:{{{force|}}}|{{infobox|section|'''Force:'''|{{{force|}}}}}}}
|force         = {{{force|}}}
<!--            Generic            -->
 
{{#if:{{{size|}}}|{{infobox|section|'''Size:'''|{{{size|}}}}}}}
|tags          = {{{tags|}}}
{{#if:{{{availability|}}}|{{infobox|section|'''Availability:'''|{{O|{{{availability|}}}}}}}}}
|effects      = {{{effects|}}}
{{#if:{{{cost|}}}|{{infobox|section|'''Cost:'''|{{$|{{{cost|}}}}}}}}}
 
{{#if:{{{tags|}}}|{{infobox|section|'''Tags:'''|{{{tags|}}}}}}}
|size          = {{{size|}}}
{{#if:{{{effects|}}}|{{infobox|section|'''Effects:'''|{{{effects|}}}}}}}
|availability  = {{{availability|}}}
{{!}}}{{#switch: {{lc:{{{type|}}}}}
|cost          = {{{cost|}}}
| artifact = [[Category:Artifacts]]
| item = [[Category:Objects]]
| weapon = [[Category:Weapons]]
| #default = [[Category:Objects]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
==Example use==
==Example use==
Line 48: Line 44:
|cost          =  
|cost          =  
}}</nowiki>
}}</nowiki>
[[Category:Templates]]
[[Category:Templates]]</noinclude>
==Templates==
=== Artifacts ===
{{Hide|  |
<nowiki>{{Infobox Object |type=artifact
|name          =
|image        =
|link          =
 
|effects      =
 
|size          =
|availability  =
|cost          =
}}</nowiki>
}}

Latest revision as of 13:09, 4 January 2024

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          = 
}}