Difference between revisions of "Template:Infobox map"
From QWiki
m |
m |
||
(17 intermediate revisions by the same user not shown) | |||
Line 65: | Line 65: | ||
Download | Download | ||
− | -->{{#if:{{{download | + | -->{{#if:{{{download}}}{{{bsp}}}| |
<div> | <div> | ||
<div class="infobox-cell-2 infobox-description">Download:</div> | <div class="infobox-cell-2 infobox-description">Download:</div> | ||
− | <div class="infobox-cell-2">[{{{download}}} | + | <div class="infobox-cell-2">{{#if:{{{download|}}}|[{{{download}}} bsp] }}{{#if:{{{loc|}}}|, [{{{loc}}} loc]}}{{#if:{{{lit|}}}|, [{{{lit}}} lit]}}{{#if:{{{map|}}}|, [{{{map}}} map]}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
+ | |||
Adbox | Adbox |
Latest revision as of 13:49, 20 September 2024
Documentation (view - edit)
This Infobox is designed to give basic information about Quakeworld maps.
Parameters
- name = Map name
- creator = (optional) Nickname of author with flag
- year = (optional) Year first released
- image = (optional) Picture
- gametype = (optional) 1on1, 2on2, 4on4, ffa, dmm4 or other modes
- size = (optional) Small, Medium, Large
- family = (optional) What category/family it belongs to
- download = (optional) URL to download .bsp
- loc = (optional) URL to download .loc
- lit = (optional) URL to download .lit
- map = (optional) URL to download .map
Blank template
You can copy the code snippet below and fill in the parameters to customize this Infobox. If any parameter doesn't apply, leave it blank and that line will not appear in the Infobox.
{{Infobox map |name= |creator= |year= |image= |gametype= |size= |family= |download= |loc= |lit= |map= }}
Example
The code below created the Infobox on this page.
{{Infobox map |name= xm00s19 |creator={{player|lurq|flag=se}} |year=2019 |image=Map Xm00s19.jpg |gametype=1on1, ffa |size=Small |family=Fun maps |download=https://maps.quakeworld.nu/base/xm00s19.bsp |loc=https://cdn.discordapp.com/attachments/501427349846360064/502962604340281355/an1-beta6.loc |lit=https://maps.quakeworld.nu/base/xm00s19.lit |map=https://maps.quakeworld.nu/base/xm00s19.map }}