Difference between revisions of "Template:Airship Cosmetics Row"

From MHWiki
m (Typo)
m (Typo 2)
Line 5: Line 5:
 
  | style="border: 1px solid; padding: 5px" rowspan="3"      <!--Description-->  | {{{Description|??}}}
 
  | style="border: 1px solid; padding: 5px" rowspan="3"      <!--Description-->  | {{{Description|??}}}
 
  | style="border: 1px solid; padding: 5px" rowspan="3"      <!--Source-->      | {{{Source|??}}}
 
  | style="border: 1px solid; padding: 5px" rowspan="3"      <!--Source-->      | {{{Source|??}}}
  | style="border: 1px solid; padding: 5px"                  <!--BalloonImage--> |  
+
  | style="border: 1px solid; padding: 5px"                  <!--BalloonImage--> | {{if|{{{BalloonImage|}}}|[{{MHdomain}}{{{BalloonImage}}} {{{BalloonImageDesc|Image}}}]|??}}
{{if|{{{BalloonImage|}}}|[{{MHdomain}}{{{BalloonImage}}} {{{BalloonImageDesc|Image}}}]|??}}
 
 
|-
 
|-
 
  | style="border: 1px solid; padding: 5px; text-align: left" <!--HullName-->    | <div id="{{{HullName|}}}">{{MHinfo|{{{HullLLL|}}}|{{{HullName|??}}}}}</div>
 
  | style="border: 1px solid; padding: 5px; text-align: left" <!--HullName-->    | <div id="{{{HullName|}}}">{{MHinfo|{{{HullLLL|}}}|{{{HullName|??}}}}}</div>

Revision as of 21:07, 30 July 2021

This template is designed for use within rows of the tables of the Airship Cosmetics page. Sample usage is as follows:

{{Airship Cosmetics Row
 | BalloonName      = ABC Airship Balloon
 | BalloonLLL       = airship_balloon_ABC_stat_item
 | HullName         = ABC Airship Hull
 | HullLLL          = airship_hull_ABC_stat_item
 | SailName         = ABC Airship Sail
 | SailLLL          = airship_sail_ABC_stat_item
 | SetName          = ABC Airship Set
 | Price            = Money money money ... Must be funny ... In the rich man's world ...
 | Description      = Words words words
 | Source           = Made by BT - no this shouldn't appear in the final version
 | BalloonImage     = /images/ui/hud/floating_islands/airship/ballooon/airship_balloon_ABC_stat_item.png
 | BalloonImageDesc = (defaults to Image if empty)
 | HullImage        = /images/ui/hud/floating_islands/airship/hull/airship_hull_ABC_stat_item.png
 | HullImageDesc    = (defaults to Image if empty)
 | SailImage        = /images/ui/hud/floating_islands/airship/sail/airship_sail_ABC_stat_item.png
 | SailImageDesc    = (defaults to Image if empty)
}}