Difference between revisions of "Template:HRP"

 
(39 intermediate revisions by 2 users 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: 850px" 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: 850px; margin-left: auto; margin-right: auto; position: relative;">
+
<div id="hrp-name">
<div id="hrp-name"><div class="{{#var:Style}}">{{{Name|Character Name}}}</div>{{#if:{{{Alias|}}}{{{Specialty|}}}|<div id="hrp-name" style="font-size: 15px;"><div class="{{#var:Style}}">{{{Specialty|}}} {{#ifeq:{{#if:{{{Specialty|}}}|1|0}}|{{#if:{{{Alias|}}}|1|0}}| - |}} {{{Alias|}}}</div></div>|}}</div>
+
<div class="{{#var:Style}}" style="width: calc(100% - 50px);"><div style="float: left; height: 32px; line-height: 32px;">{{{Name|Character Name}}}</div>
{{#ifeq: RIGHT | {{uc:{{{Orientation|LEFT}}}}}|{{HRP-Description|Picture={{{Picture|}}}|Description={{{Description}}} }}|}}
+
{{#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: 550px; float: left">
+
{{#ifeq: RIGHT | {{uc:{{{Orientation|LEFT}}}}}|{{HRP-Description|Picture={{{Picture|}}}|Description={{{Description}}}|Width=33 }}|}}
 +
<div style="overflow: hidden; width: 100%">
 +
<div style="width: 66%; float: left; margin-bottom: -1000px; padding-bottom: 1000px;">
 
{{HRP-Affiliations|Solo={{{Solo|d6}}}|Buddy={{{Buddy|d6}}}|Team={{{Team|d6}}}|SoloRepeat={{{SoloRepeat|1}}}|BuddyRepeat={{{BuddyRepeat|1}}}|TeamRepeat={{{TeamRepeat|1}}} }}
 
{{HRP-Affiliations|Solo={{{Solo|d6}}}|Buddy={{{Buddy|d6}}}|Team={{{Team|d6}}}|SoloRepeat={{{SoloRepeat|1}}}|BuddyRepeat={{{BuddyRepeat|1}}}|TeamRepeat={{{TeamRepeat|1}}} }}
 
{{HRP-Distinctions|{{{Distinction1|}}}|{{{Distinction2|}}}|{{{Distinction3|}}} }}
 
{{HRP-Distinctions|{{{Distinction1|}}}|{{{Distinction2|}}}|{{{Distinction3|}}} }}
Line 12: Line 15:
 
{{HRP-Specialties|{{{Specialties}}} }}
 
{{HRP-Specialties|{{{Specialties}}} }}
 
</div>
 
</div>
{{#ifeq: LEFT | {{uc:{{{Orientation|LEFT}}}}}|{{HRP-Description|Picture={{{Picture|}}}|Description={{{Description}}} }}|}}
+
{{#ifeq: LEFT | {{uc:{{{Orientation|LEFT}}}}}|{{HRP-Description|Picture={{{Picture|}}}|Description={{{Description}}}|Width=33 }}|}}
 
<div style="clear: both;"></div>
 
<div style="clear: both;"></div>
<div style="width: 850px; margin-left: auto; margin-right: auto;">
+
</div>
 +
<div style="width: 100%; margin-left: auto; margin-right: auto;">
 
{{HRP-Milestones|{{{Milestones}}} }}
 
{{HRP-Milestones|{{{Milestones}}} }}
 
</div>
 
</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>|}}
+
</div></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>|}}
 
{{#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 03:31, 17 February 2021


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



RED WHITE D4.png or RED WHITE D8.png
+1 PP
Power Sets
{{{PowerSets}}}
Specialties
{{{Specialties}}}
[You may convert Expert D8 to 2D6, or Master D10 to 2D8 or 3D6]

{{{Description}}}

Milestones
{{{Milestones}}}