Difference between revisions of "Template:Missionbox"
From LGPedia
(draft template) |
m (Updating so that you can change the default image size) |
||
| (13 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly>{| style="border:1px solid; border-color:#999; margin:1px; width:725px; background:#EEE;" cellspacing="0" |
| − | + | ||
| − | " | + | |
| − | border: | + | |
| − | + | ||
| − | + | ||
|- | |- | ||
| − | + | {{#ifeq:{{{align}}}|left| | |
| − | + | {{!}}rowspan=7 valign="top" {{!}}[[Image:MissionText.jpg|40px]] | |
| − | + | {{!}}rowspan=7 valign="top" align="center"{{!}}{{#if:{{{pic|}}}|[[Image:{{{pic|}}}|{{{pic-s|221px}}}]]|}} | |
| − | + | {{!}}width="100%" valign="top" style="font-size:16px; color:{{{mission-c|#000}}}; 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}}}''' | |
| − | + | {{!}}rowspan=7 valign="top" align="center"{{!}}{{#if:{{{pic|}}}|[[Image:{{{pic|}}}|{{{pic-s|221px}}}]]|}} | |
| − | + | {{!}}rowspan=7 valign="top" {{!}}[[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|}}}|}} |
| − | < | + | |}</includeonly><noinclude> |
| + | Table to be used for the [[Missions]] page. | ||
| − | < | + | ===Usage=== |
| − | + | <pre> | |
| − | == | + | {{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 |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | | | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
}} | }} | ||
| − | + | </pre> | |
| − | + | ||
| − | </ | + | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
| − | + | ||
| − | [[Category:Templates]]</noinclude> | + | |
Latest revision as of 21:45, 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
}}