Template:Missionbox: Difference between revisions
From LGPedia
Jump to navigationJump to search
mNo edit summary |
m Updating so that you can change the default image size |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| style="border:1px solid; border-color:#999; margin:1px;width: | <includeonly>{| style="border:1px solid; border-color:#999; margin:1px; width:725px; 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"{{!}}{{#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 align="center"{{!}}{{{pic|}}} | {{!}}rowspan=7 valign="top" align="center"{{!}}{{#if:{{{pic|}}}|[[Image:{{{pic|}}}|{{{pic-s|221px}}}]]|}} | ||
{{!}}rowspan=7{{!}}[[Image:MissionTextRHS.jpg|40px]]|}} | {{!}}rowspan=7 valign="top" {{!}}[[Image:MissionTextRHS.jpg|40px]]|}} {{#if:{{{faction|}}}|<br> | ||
{{#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;"{{!}}'''FACTION:''' {{{faction|}}}|}} {{#if:{{{agents|}}}|<br> | ||
| Line 19: | Line 18: | ||
{{+}} | {{+}} | ||
{{!}}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. | |||
< | ===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|{{PAGENAME}}]]</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
}}