Template:InfoBoxVehicle: Difference between revisions
Template page
More actions
Sqwishyish (talk | contribs) Integrated template with Module:Sqwishyish/ListTools to allow for easier inserting of lists into the info box with automatic formatting. |
Sqwishyish (talk | contribs) m Update template to not error when nil value |
||
Line 26: | Line 26: | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Jobs | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Jobs | ||
| style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{#invoke: Sqwishyish/ListTools | | style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{#invoke: Sqwishyish/ListTools | ||
| split_list | {{{Jobs}}} | [[Category: {split}]][[:Category: {split}|{split}]], }} | | split_list | {{{Jobs|}}} | [[Category: {split}]][[:Category: {split}|{split}]], }} | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;" | Customization | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;" | Customization | ||
| style="background-color: #101317; color: white;padding: 0.6em 0.4em 0.6em 0.4em;" | {{#invoke: Sqwishyish/ListTools | split_list | {{{Customization}}} | {{Checkbox (colored)|checked|color=blue}} [[Category: {split}]][[:Category: {split}|{split}]] <br> }} | | style="background-color: #101317; color: white;padding: 0.6em 0.4em 0.6em 0.4em;" | {{#invoke: Sqwishyish/ListTools | split_list | {{{Customization|}}} | {{Checkbox (colored)|checked|color=blue}} [[Category: {split}]][[:Category: {split}|{split}]] <br> }} | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Modelers | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Modelers | ||
| style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{#invoke: Sqwishyish/ListTools | | style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{#invoke: Sqwishyish/ListTools | ||
| split_list | {{{Modelers}}} | [[Category: {split}]][[:Category: {split}|{split}]], }} | | split_list | {{{Modelers|}}} | [[Category: {split}]][[:Category: {split}|{split}]], }} | ||
|- | |- | ||
| colspan="2" style="text-align: center; background-color: #1b1b1b; color: white; font-weight: bold; padding: 0.4em; border-top: 0.5px solid grey; border-bottom: 0.5px solid grey; line-height: 23px;" | {{{Specifications|Specifications}}} | | colspan="2" style="text-align: center; background-color: #1b1b1b; color: white; font-weight: bold; padding: 0.4em; border-top: 0.5px solid grey; border-bottom: 0.5px solid grey; line-height: 23px;" | {{{Specifications|Specifications}}} | ||
Line 241: | Line 241: | ||
"example": "TheOnly0Ne, Giovanni_085931, Enclaved_YT, EAT_RIC3", | "example": "TheOnly0Ne, Giovanni_085931, Enclaved_YT, EAT_RIC3", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"autovalue": "", | |||
"default": "Unknown" | |||
} | } | ||
}, | }, |