Difference between revisions of "Template:Trigger"

From HIVE
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<div class="gwn-trigger" style="float:left;width:100%;margin-bottom:1em;border:1px solid #fff;background:#444">
+
<div class="gwn-trigger" style="width:100%;margin-bottom:1em;border:1px solid #313C57;background:#1A1F2C">
<div class="gwn-trigger-header" style="padding:4px;border-bottom:1px solid #aaa;background:#444;font-weight:bold;vertical-align:middle">''StarCraft 2'' Trigger <span style="float:right;font-size:.8em">[<nowiki/>[[Template:Trigger|edit]]<nowiki/>]</span></div>
+
<div class="gwn-trigger-header" style="padding:4px;border-bottom:1px solid #313C57;background:#1A1F2C;font-weight:bold;vertical-align:middle">''StarCraft 2'' Trigger <span style="float:right;font-size:.8em">[<nowiki/>[[Template:Trigger|template]]<nowiki/>]</span></div>
{|style="width:100%; font-size:11px; border-collapse:collapse" cellpadding="3" cellspacing="0" align="left"|
+
{{#if:{{{description|}}}|<div class="trigger-sc2-field trigger-sc2-description" style="float:left;width:75px;padding:4px;background:#1A1F2C;font-weight:bold;vertical-align:middle">Description:</div>
'''Events'''
+
<div class="trigger-sc2-value trigger-sc2-description" style="padding:4px 4px 4px 22px;margin-left:83px;background:#333">{{{description}}}</div>|}}
:{{{Events}}}
+
<div class="trigger-sc2-field trigger-sc2-events" style="float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#1A1F2C;font-weight:bold;vertical-align:middle">Events:</div>
'''Variables'''
+
<div class="trigger-sc2-value trigger-sc2-events" style="padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#333">
:{{{Variables}}}
+
{{{events|{{{1|*Map Initialization}}}}}}
'''Conditions
+
</div>
:{{{Conditions}}}
+
<div class="trigger-sc2-field trigger-sc2-variables" style="float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#1A1F2C;font-weight:bold;vertical-align:middle">Variables:</div>
'''Actions'''
+
<div class="trigger-sc2-value trigger-sc2-variables" style="padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#333">
:{{{Actions}}}
+
{{{variables|{{{2|*Never.}}}}}}
|}
+
</div>
<div class="gwn-trigger-footer" style="padding:4px;border-top:1px solid #aaa;background:#444;font-size:.8em;vertical-align:middle">[[Triggers|Learn about triggers]]</div>
+
<div class="trigger-sc2-field trigger-sc2-conditions" style="float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#1A1F2C;font-weight:bold;vertical-align:middle">Conditions:</div>
 +
<div class="trigger-sc2-value trigger-sc2-conditions" style="padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#333">
 +
{{{conditions|{{{3|*Never.}}}}}}
 +
</div>
 +
<div class="trigger-sc2-field trigger-sc2-actions" style="float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#1A1F2C;font-weight:bold;vertical-align:middle">Actions:</div>
 +
<div class="trigger-sc2-value trigger-sc2-actions" style="padding:1px 4px 5px 3px;border-top:1px solid #AAA;background:#333;overflow-y:auto">
 +
{{{actions|{{{4|*Comment: .}}}}}}
 +
</div>
 +
<div class="gwn-trigger-footer" style="padding:4px;border-top:1px solid #313C57;background:#1A1F2C;vertical-align:middle">[[Triggers|Learn about Triggers]]</div>
 
</div>
 
</div>
 
This is a work in progress by DevliN.
 

Revision as of 23:57, 26 April 2011

StarCraft 2 Trigger [template]
Events:
  • Map Initialization
Variables:
  • Never.
Conditions:
  • Never.
Actions:
  • Comment: .