Difference between revisions of "Template:Missionbox"
From LGPedia
m (Changing category sort key) |
m (Testing making this universal) |
||
Line 1: | Line 1: | ||
− | + | {| style="border:1px solid; border-color:#999; margin:1px;width:630px; background:#EEE;" cellspacing="0" | |
− | + | ||
− | " | + | |
− | border: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
+ | {{#ifeq:{{{align}}}|left| | ||
+ | {{!}}rowspan=7{{!}}[[Image:MissionText.jpg|40px]] | ||
+ | {{!}}rowspan=7 align="center"{{!}}{{{pic|}}}|}} | ||
+ | |width="100%" valign="top" style="font-size:16px; padding:4px; line-height:1.25em;"|'''{{{mission}}}''' | ||
+ | {{#ifeq:{{{align}}}|left|| | ||
+ | {{!}}rowspan=7 align="center"{{!}}{{{pic|}}} | ||
+ | {{!}}rowspan=7{{!}}[[Image:MissionTextRHS.jpg|40px]]|}} | ||
+ | {{#if:{{{faction|}}}|<br> | ||
+ | {{+}} | ||
+ | {{!}}style="font-size:11px; padding:4px; line-height:1.25em;"{{!}}'''FACTION:''' {{{faction|}}}|}} {{#if:{{{agents|}}}|<br> | ||
+ | {{+}} | ||
+ | {{!}}style="font-size:11px; padding:4px; line-height:1.25em;"{{!}}'''AGENTS:''' {{{agents|}}}|}} {{#if:{{{purpose|}}}|<br> | ||
+ | {{+}} | ||
+ | {{!}}style="font-size:11px; padding:4px; line-height:1.25em;"{{!}}'''PURPOSE:''' {{{purpose|}}}|}} {{#if:{{{outcome|}}}|<br> | ||
+ | {{+}} | ||
+ | {{!}}style="font-size:11px; padding:4px; line-height:1.25em;"{{!}}'''OUTCOME:''' {{{outcome|}}}|}} {{#if:{{{videos|}}}|<br> | ||
+ | {{+}} | ||
+ | {{!}}style="font-size:11px; padding:4px; line-height:1.25em;"{{!}}'''VIDEOS:''' {{{videos|}}}|}} | ||
|} | |} | ||
− | |||
− | |||
<noinclude> | <noinclude> | ||
Line 39: | Line 35: | ||
| {{Missionbox | | {{Missionbox | ||
|pic=[[Image:0204-JonasGrabbingBree.jpg|295px]] | |pic=[[Image:0204-JonasGrabbingBree.jpg|295px]] | ||
− | | | + | |mission='''Finding Bree''' |
− | + | |faction=[[The Resistance]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
|agents=[[Daniel]], [[Jonas]], [[Taylor]], [[Sarah]] | |agents=[[Daniel]], [[Jonas]], [[Taylor]], [[Sarah]] | ||
|purpose=[[Bree]] is gone, so the team tries to find her. | |purpose=[[Bree]] is gone, so the team tries to find her. |
Revision as of 20:45, 7 February 2008
{{{mission}}} | ![]() |
Early draft version of a mission box for use in the Missions page. Only tested in Firefox so far.
Examples
Plain
{{{mission}}} | ![]() |
Simple usage in a table
|