Template:Infobox Object: Difference between revisions

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


|tags          =  
|tags          =  
|effects      = <!-- List below -->
|effects      =  
 
 
|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 65: Line 44:
|cost          =  
|cost          =  
}}</nowiki>
}}</nowiki>
}}
[[Category:Templates]]</noinclude>

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