Template:Infobox Agent: Difference between revisions

From Deceive Inc. Wiki
Jump to navigation Jump to search
m (Added a PI type so css rules could be applied. Also added a game data section including cost.)
m (Added ability to specify catalogue the agent originates from.)
 
(4 intermediate revisions by the same user not shown)
Line 24: Line 24:
/// Beginning of Infobox ///
/// Beginning of Infobox ///


--><infobox type="agent">
--><infobox theme="di">
     <title source="name"><default>{{PAGENAME}}</default></title>
     <title source="name"><default>{{PAGENAME}}</default></title>
     <image source="image">
     <image source="image">
Line 39: Line 39:
         <header>Game Data</header>
         <header>Game Data</header>
         <data source="role"><label>Agent Role</label><format>{{#var:role}}</format></data>
         <data source="role"><label>Agent Role</label><format>{{#var:role}}</format></data>
         <data source="cost"><label>Cost</label><format>{{credits|{{{cost-c|}}}</format></data>
         <data source="cost"><label>Cost</label><format>{{credits|{{{cost|}}}}}</format></data>
        <data source="catalogue"><label>Catalogue</label><format>{{#if:{{{catalogue|}}}|{{#ifexist:{{{catalogue}}}|[[{{{catalogue}}}]]|{{{catalogue}}}}}|}}</format></data>
    </group>
</infobox></includeonly>
</infobox></includeonly>

Latest revision as of 15:24, 6 September 2023

This template is a work in progress.