Difference between revisions of "Template:HRPCompact"

 
(52 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{#css:MediaWiki:HRP.css}}
 
{{#vardefine:Style|{{{Style|default}}}}}
 
{{#vardefine:Style|{{{Style|default}}}}}
{{#vardefine:Dice|{{{Dice|BL}}}}}
+
{{#vardefine:Dice|{{uc:{{{Dice|red_white}}}}}}}
<div id="hrp" style="width: 100%">
+
<div id="hrp" style="width: 100%;max-width: 640px; min-width:450px;" class="{{#var:Style}}">
<div class="{{#var:Style}}" style="width: 100%;">
+
<div style="width: 100%; margin-left: auto; margin-right: auto; position: relative; padding-top: 10px;">
<div style="width: 650px; margin-left: auto; margin-right: auto; position: relative;">
 
 
<div id="hrp-name">
 
<div id="hrp-name">
<div class="{{#var:Style}}" style="width: 100%;"><div style="float: left;">{{{Name|Character Name}}}</div>
+
<div class="{{#var:Style}}" style="width: calc(100% - 50px);"><div style="float: left;">{{{Name|Character Name}}}</div>
{{#if:{{{Alias|}}}{{{Specialty|}}}|<div class="{{#var:Style}}" style="font-size: 15px; float:right;">{{{Specialty|}}} {{#ifeq:{{#if:{{{Specialty|}}}|1|0}}|{{#if:{{{Alias|}}}|1|0}}| - |}} {{{Alias|}}}</div>|}}<div style="clear: both;"></div></div></div>
+
{{#if:{{{Alias|}}}{{{Specialty|}}}|<div class="{{#var:Style}}" style="font-size: 17px; float:right;">{{{Specialty|}}} {{#ifeq:{{#if:{{{Specialty|}}}|1|0}}|{{#if:{{{Alias|}}}|1|0}}| - |}} {{{Alias|}}}</div>|}}<div style="clear: both;"></div></div></div>
<div style="width: 395px; float: left">
+
 
 +
<div style="overflow: hidden;">
 +
<div style="width: 445px; float: left; margin-bottom: -1000px; padding-bottom: 1000px;">
 
{{HRP-Affiliations-Compact|Solo={{{Solo|d6}}}|Buddy={{{Buddy|d6}}}|Team={{{Team|d6}}}|SoloRepeat={{{SoloRepeat|2}}}|BuddyRepeat={{{BuddyRepeat|3}}}|TeamRepeat={{{TeamRepeat|4}}} }}
 
{{HRP-Affiliations-Compact|Solo={{{Solo|d6}}}|Buddy={{{Buddy|d6}}}|Team={{{Team|d6}}}|SoloRepeat={{{SoloRepeat|2}}}|BuddyRepeat={{{BuddyRepeat|3}}}|TeamRepeat={{{TeamRepeat|4}}} }}
<div style="width: 5px; float: left;">&nbsp;</div>
 
 
{{HRP-Distinctions-Compact|{{{Distinction1|}}}|{{{Distinction2|}}}|{{{Distinction3|}}} }}
 
{{HRP-Distinctions-Compact|{{{Distinction1|}}}|{{{Distinction2|}}}|{{{Distinction3|}}} }}
 
<div style="clear: both;"></div>
 
<div style="clear: both;"></div>
{{HRP-PowerSets-Compact|{{{PowerSets}}} }}
+
{{#if:{{{PowerSets|}}}|{{HRP-PowerSets-Compact|{{{PowerSets}}} }}|}}
{{HRP-Specialties-Compact|{{{Specialties}}} }}
+
{{#if:{{{Specialties|}}}|{{HRP-Specialties-Compact|{{{Specialties}}} }}|}}
 +
</div>
 +
<div style="float: left; width: 100%; min-width: 150px; max-width: 190px;">
 +
{{HRP-Description-Compact|Width=100|Picture={{{Picture|}}}|class=fit|Description={{{Description}}} }}
 
</div>
 
</div>
{{HRP-Description|Picture={{{Picture|}}}|Description={{{Description}}}|Width=255 }}
 
 
<div style="clear: both;"></div>
 
<div style="clear: both;"></div>
{{#ifeq:{{#var:Style}}|gijoe|<div style="position: absolute; top: 15px; {{lc:{{{Orientation|right}}}}}: 20px; z-index: 10;">[[File:Ff_logo_gijoe.png|120px]]</div>|}}
+
 
{{#ifeq:{{#var:Style}}|cobra|<div style="position: absolute; top: 5px; {{lc:{{{Orientation|right}}}}}: 40px; z-index: 10;">[[File:Ff_logo_cobra.png|55px]]</div>|}}
+
</div>
{{#ifeq:{{#var:Style}}|firefly|<div style="position: absolute; top: 5px; {{lc:{{{Orientation|right}}}}}: 10px; z-index: 10;">[[File:Ff_logo_firefly.png|70px]]</div>|}}
 
</div></div></div>
 
  
 
<includeonly>[[Category:Cortex Plus]]</includeonly>
 
<includeonly>[[Category:Cortex Plus]]</includeonly>
<includeonly>[[Category:Heroic Roleplay - {{#var:Style}}]]</includeonly>
 
 
<includeonly>[[Category:Heroic Roleplay]]</includeonly>
 
<includeonly>[[Category:Heroic Roleplay]]</includeonly>
 +
{{#ifeq: {{lc:{{#var:Style}}}}|mhrp|<includeonly>[[Category:Heroic Roleplay - Marvel]]</includeonly>|}}
 +
{{#ifeq: {{lc:{{#var:Style}}}}|villain|<includeonly>[[Category:Heroic Roleplay - Marvel]]</includeonly>|}}
 +
{{#ifeq: {{lc:{{#var:Style}}}}|emhero|<includeonly>[[Category:Heroic Roleplay - Earth's Mightiest Heroes]]</includeonly>|}}
 +
{{#ifeq: {{lc:{{#var:Style}}}}|emvillain|<includeonly>[[Category:Heroic Roleplay - Earth's Mightiest Heroes]]</includeonly>|}}

Latest revision as of 20:59, 16 February 2021


Character Name
Affiliations
Solo
RED WHITE D6.pngRED WHITE D6.png
Buddy
RED WHITE D6.pngRED WHITE D6.pngRED WHITE D6.png
Team
RED WHITE D6.pngRED WHITE D6.pngRED WHITE D6.pngRED WHITE D6.png
Distinctions



{{{Description}}}