Template:Infobox Object: Difference between revisions

From Shadow Chronicles - Mortal
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{!}} class="floatright" style="width: 300px;"
<includeonly>{{#ifeq:{{lc:{{{type|}}}}}|artifact|{{pageHeader|{{{name|}}}}}}}
{{{!}} class="floatright" style="width: 300px;"
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}}colspan="2" style="text-align:center;" {{!}} [[File:{{{type|}}}_{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}.{{{image|}}}{{!}}290px{{!}}]]
{{!}}colspan="2" style="text-align:center;" {{!}} [[File:{{{type|}}}_{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}.{{{image|}}}{{!}}290px{{!}}]]
Line 20: Line 21:
{{#if:{{{effects|}}}|{{infobox|section|'''Effects:'''|{{{effects|}}}}}}}
{{#if:{{{effects|}}}|{{infobox|section|'''Effects:'''|{{{effects|}}}}}}}
{{!}}}{{#switch: {{lc:{{{type|}}}}}
{{!}}}{{#switch: {{lc:{{{type|}}}}}
  | artifact = [[Category:Artifacts]]
  | artifact = {{#ifeq:{{{active|}}}|no|[[Category:Inactive (Artifact)]]|[[Category:Artifacts]]}}
  | item = [[Category:Objects]]
  | item = [[Category:Objects]]
  | weapon = [[Category:Weapons]]
  | weapon = [[Category:Weapons]]
Line 26: Line 27:
}}</includeonly><noinclude>
}}</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 42: Line 43:


|tags          =  
|tags          =  
|effects      =  
|effects      = <!-- List below -->
 


|size          =  
|size          =  
Line 52: Line 54:
=== Artifacts ===
=== Artifacts ===
{{Hide|  |
{{Hide|  |
  <nowiki>{{Infobox Object |type=artifact
  <nowiki>{{Infobox Object |type=Artifact |active=<yes/no>
|name          =  
|name          =  
|image        =  
|image        =  
|link          =  
|link          =  


|effects      =  
|effects      = <!-- List below -->


|size          =  
|size          =  
Line 64: Line 66:
}}</nowiki>
}}</nowiki>
}}
}}
{{raw:scGM:Infobox Object |type={{{type|}}}
|name          = {{{name|}}}
|image        = {{{image|}}}
|link          = {{{link|}}}
|damage        = {{{damage|}}}
|ranges        = {{{ranges|}}}
|capacity      = {{{capacity|}}}
|clip          = {{{clip|}}}
|initiative    = {{{initiative|}}}
|strength      = {{{strength|}}}
|blast        = {{{blast|}}}
|force        = {{{force|}}}
|tags          = {{{tags|}}}
|effects      = {{{effects|}}}
|size          = {{{size|}}}
|availability  = {{{availability|}}}
|cost          = {{{cost|}}}
}}
==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]]</noinclude>

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