More actions
m Working on template {{Missiondetails}}. |
m Fase 1: Reformat the source to increase readability, coding and testing. |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{Name|}}}|{{{!}}style="margin-left:1em;text-align:left" | <includeonly> | ||
{{!}}'''{{{Name}}}''' | {{ #if: {{{Name|}}} | {{{!}} style="margin-left:1em;text-align:left" {{!}} '''{{{Name}}}''' {{!}}}|}} | ||
{{!}}}|}}<table style="width:125px;border-spacing:0px 2px;margin-left:1em;border:1px solid #606060; width:880px">{{#if:{{{Level|}}} | <table style="width:125px;border-spacing:0px 2px;margin-left:1em;border:1px solid #606060; width:880px">{{#if:{{{Level|}}} | ||
|<tr><td style="width:125px;background:#191616;padding:0px 1em">Level</td><td style="padding:2px 0 2px 5px;">{{{Level}}}</td></tr> |}}{{#if:{{{Type|}}} | |<tr><td style="width:125px;background:#191616;padding:0px 1em">Level</td><td style="padding:2px 0 2px 5px;">{{{Level}}}</td></tr> |}}{{#if:{{{Type|}}} | ||
|<tr><td style="width:125px;background:#191616;padding:0px 1em">Type</td><td style="padding:2px 0 2px 5px;">{{{Type}}}</td></tr> |}}{{#if:{{{Objective|}}} | |<tr><td style="width:125px;background:#191616;padding:0px 1em">Type</td><td style="padding:2px 0 2px 5px;">{{{Type}}}</td></tr> |}}{{#if:{{{Objective|}}} | ||
| Line 272: | Line 272: | ||
| <tr><td style="width:125px;background:#191616;padding:0px 1em">Standing loss</td><td style="padding:2px 0 2px 5px;">{{{StandingLoss}}}</td></tr> |}}{{#if:{{{Extra|}}} | | <tr><td style="width:125px;background:#191616;padding:0px 1em">Standing loss</td><td style="padding:2px 0 2px 5px;">{{{StandingLoss}}}</td></tr> |}}{{#if:{{{Extra|}}} | ||
| <tr><td style="width:125px;background:#191616;padding:0px 1em">Extra</td><td style="padding:2px 0 2px 5px;">{{{Extra}}}</td></tr> |}} | | <tr><td style="width:125px;background:#191616;padding:0px 1em">Extra</td><td style="padding:2px 0 2px 5px;">{{{Extra}}}</td></tr> |}} | ||
</table></includeonly><noinclude> | </table> | ||
{{documentation}} | |||
</noinclude> | </includeonly><noinclude>{{documentation}}</noinclude> | ||
Revision as of 16:57, 22 March 2022
Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)