Difference between revisions of "Template:Airship Cosmetics Row"

From MHWiki
m (Typo 2)
m (Cleaned up coding made unnecessary via CSS class b_and_p and reorganised div id tagging)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>|-
+
<includeonly>|- id="{{{BalloonName|}}}" style="scroll-margin-top: 2.498em"
  | style="border: 1px solid; padding: 5px; text-align: left" <!--BalloonName-->  | <div id="{{{BalloonName|}}}">{{MHinfo|{{{BalloonLLL|}}}|{{{BalloonName|??}}}}}</div>
+
  | style="text-align: left"             <!--BalloonName-->  | {{MHinfo|{{{BalloonLLL|?}}}|{{{BalloonName|?}}}}}
  | style="border: 1px solid; padding: 5px" rowspan="3"       <!--SetName-->      | {{{SetName|??}}}
+
  | rowspan="3"                           <!--SetName-->      | {{{SetName|?}}}
  | style="border: 1px solid; padding: 5px" rowspan="3"       <!--Price-->        | {{{Price|??}}}
+
  | rowspan="3"                           <!--Price-->        | {{{Price|?}}}
  | style="border: 1px solid; padding: 5px" rowspan="3"       <!--Description-->  | {{{Description|??}}}
+
  | rowspan="3"                           <!--Description-->  | {{{Description|?}}}
  | style="border: 1px solid; padding: 5px" rowspan="3"       <!--Source-->      | {{{Source|??}}}
+
  | rowspan="3"                           <!--Source-->      | {{{Source|?}}}
  | style="border: 1px solid; padding: 5px"                  <!--BalloonImage--> | {{if|{{{BalloonImage|}}}|[{{MHdomain}}{{{BalloonImage}}} {{{BalloonImageDesc|Image}}}]|??}}
+
  |                                       <!--BalloonImage--> | {{if|{{{BalloonImage|}}}|[{{MHdomain}}{{{BalloonImage}}} {{{BalloonImageDesc|Image}}}]|?}}
|-
+
|- id="{{{HullName|}}}" style="scroll-margin-top: 2.498em"
  | style="border: 1px solid; padding: 5px; text-align: left" <!--HullName-->    | <div id="{{{HullName|}}}">{{MHinfo|{{{HullLLL|}}}|{{{HullName|??}}}}}</div>
+
  | style="text-align: left" <!--HullName-->    | {{MHinfo|{{{HullLLL|?}}}|{{{HullName|?}}}}}
  | style="border: 1px solid; padding: 5px"                  <!--HullImage-->    |  
+
  |                         <!--HullImage-->    | {{if|{{{HullImage|}}}|[{{MHdomain}}{{{HullImage}}} {{{HullImageDesc|Image}}}]|?}}
{{if|{{{HullImage|}}}|[{{MHdomain}}{{{HullImage}}} {{{HullImageDesc|Image}}}]|??}}
+
|- id="{{{SailName|}}}" style="scroll-margin-top: 2.498em"
|-
+
  | style="text-align: left" <!--SailName-->    | {{MHinfo|{{{SailLLL|?}}}|{{{SailName|?}}}}}</div>
  | style="border: 1px solid; padding: 5px; text-align: left" <!--SailName-->    | <div id="{{{SailName|}}}">{{MHinfo|{{{SailLLL|}}}|{{{SailName|}}}}}</div>
+
  |                         <!--SailImage-->    | {{if|{{{SailImage|}}}|[{{MHdomain}}{{{SailImage}}} {{{SailImageDesc|Image}}}]|?}}</includeonly><noinclude>This template is designed for use within rows of the tables of the [[Airship Cosmetics]] page.  Sample usage is as follows:
  | style="border: 1px solid; padding: 5px"                  <!--SailImage-->    | {{if|{{{SailImage|}}}|[{{MHdomain}}/images/ui/hud/floating_islands/airship/sail/{{{SailImage}}} {{{SailImageDesc|Image}}}]|??}}</includeonly><noinclude>This template is designed for use within rows of the tables of the [[Airship Cosmetics]] page.  Sample usage is as follows:
 
 
<pre>
 
<pre>
 
{{Airship Cosmetics Row
 
{{Airship Cosmetics Row
Line 26: Line 25:
 
  | Source          = Made by BT - no this shouldn't appear in the final version
 
  | 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
 
  | BalloonImage    = /images/ui/hud/floating_islands/airship/ballooon/airship_balloon_ABC_stat_item.png
  | BalloonImageDesc = (defaults to Image if empty)
+
  | BalloonImageDesc = Image
 
  | HullImage        = /images/ui/hud/floating_islands/airship/hull/airship_hull_ABC_stat_item.png
 
  | HullImage        = /images/ui/hud/floating_islands/airship/hull/airship_hull_ABC_stat_item.png
  | HullImageDesc    = (defaults to Image if empty)
+
  | HullImageDesc    = Image
 
  | SailImage        = /images/ui/hud/floating_islands/airship/sail/airship_sail_ABC_stat_item.png
 
  | SailImage        = /images/ui/hud/floating_islands/airship/sail/airship_sail_ABC_stat_item.png
  | SailImageDesc    = (defaults to Image if empty)
+
  | SailImageDesc    = Image
 
}}
 
}}
 
</pre></noinclude>
 
</pre></noinclude>

Latest revision as of 14:23, 21 February 2022

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 = Image
 | HullImage        = /images/ui/hud/floating_islands/airship/hull/airship_hull_ABC_stat_item.png
 | HullImageDesc    = Image
 | SailImage        = /images/ui/hud/floating_islands/airship/sail/airship_sail_ABC_stat_item.png
 | SailImageDesc    = Image
}}