Template:Missionbox: Difference between revisions

From LGPedia
Jump to navigationJump to search
Shiori (talk | contribs)
mNo edit summary
Shiori (talk | contribs)
m Finished! Use this for ALWAYS, please.
Line 1: Line 1:
{| style="border:1px solid; border-color:#999; margin:1px;width:630px; background:#EEE;" cellspacing="0"
<includeonly>{| style="border:1px solid; border-color:#999; margin:1px;width:720px; background:#EEE;" cellspacing="0"
|-
|-
{{#ifeq:{{{align}}}|left|
{{#ifeq:{{{align}}}|left|
{{!}}rowspan=7 valign="top" {{!}}[[Image:MissionText.jpg|40px]]
{{!}}rowspan=7 valign="top" {{!}}[[Image:MissionText.jpg|40px]]
{{!}}rowspan=7 valign="top" align="center"{{!}}{{{pic|}}}|}}
{{!}}rowspan=7 valign="top" align="center"{{!}}{{{pic|}}}|}}
|width="100%" valign="top" style="font-size:16px; padding:4px; line-height:1.25em;"|'''{{{mission}}}'''
|width="100%" valign="top" style="font-size:16px; color:{{{mission-c|#000}}}; padding:4px; line-height:1.25em;"|'''{{{mission}}}'''
{{#ifeq:{{{align}}}|left||
{{#ifeq:{{{align}}}|left||
{{!}}rowspan=7 valign="top" align="center"{{!}}{{{pic|}}}
{{!}}rowspan=7 valign="top" align="center"{{!}}{{{pic|}}}
Line 19: Line 19:
{{+}}
{{+}}
{{!}}style="font-size:11px; padding:4px; line-height:1.25em;"{{!}}'''VIDEOS:''' {{{videos|}}}|}}
{{!}}style="font-size:11px; padding:4px; line-height:1.25em;"{{!}}'''VIDEOS:''' {{{videos|}}}|}}
|}
|}</includeonly><noinclude>
Table to be used for the [[Missions]] page.


<noinclude>
===Usage===
Early draft version of a mission box for use in the [[Missions]] page. Only tested in Firefox so far.
<pre>
==Examples==
{{Missionbox
|mission   =
|pic        =
|faction    =
|agents    =  
|purpose    =  
|outcome    =  
|videos    =  


===Plain===
<!--Use to change the font color of the mission name-->
{{Missionbox}}
|mission-c  =  
<br clear="left"/>
 
<!--Use to make the box left-aligned-->
|align      = left
</pre>


===Simple usage in a table===
<center>
{| align=center style="width:720px" border=0
|-
| {{Missionbox
|pic=[[Image:0204-JonasGrabbingBree.jpg|295px]]
|mission=Finding Bree
|faction=[[The Resistance]]
|agents=[[Daniel]], [[Jonas]], [[Taylor]], [[Sarah]]
|purpose=[[Bree]] is gone, so the team tries to find her.
|outcome=Success
|videos=[[1500 Miles]], [[Let's Play Doctor]], [[Comfort Food]], [[Oh, The Places You'll Go]], [[Sing With Me]], [[CAMP PLAY]], [[Be Part of Something]], [[Opening the Box]], [[It's A Cult]], [[Getting Her Back]]
}}
|-
|}
</center>
<br>
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 21:03, 7 February 2008

Table to be used for the Missions page.

Usage

{{Missionbox
|mission    = 
|pic        = 
|faction    = 
|agents     = 
|purpose    = 
|outcome    = 
|videos     = 

<!--Use to change the font color of the mission name-->
|mission-c  = 

<!--Use to make the box left-aligned-->
|align      = left