Template:Location: Difference between revisions

From Jedi Knight Wiki | JKHub
(Created page with "== Location == A template of info box for maps and levels, as well as planets, cities, etc. which are seen in JO/JA and respective modifications. <onlyinclude> {| class="info...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:


<onlyinclude>
<onlyinclude>
{| class="infobox" style="width: 21em;"
<table class="infobox" style="display: block;">
|-
    <!-- name (mandatory) -->
|colspan="2" style="text-align:center;" | {{{image}}}
    <tr>
|-
        <td colspan="2" style="text-align: center; font-size: 125%; font-weight: bold;">{{{name|}}}</td>
!colspan="2" style="font-size: larger; background-color:{{{bgcolor}}}; color:{{{fgcolor}}}; text-align:center;" | {{{name}}}
    </tr>
|-
 
|'''Region''' || {{{region}}}
    <!-- image, if available -->
|-
    {{#if:{{{image|}}}|
|'''System''' || {{{system}}}
    <tr>
|-
        <td colspan="2" style="text-align: center;">{{{image}}}</td>
|'''Number of suns''' || {{{sun}}}
    </tr>
|-
    }}
|'''Moons''' || {{{moons}}}
    <tr>
|-
        <td colspan="2" class="details">Details</td>
|'''Surface''' || {{{surface}}}
    </tr>
|-
        <tr>
|'''Climate''' || {{{climate}}}
            <!-- region, if available -->
|-
            {{#if:{{{region|}}}|
|'''Population''' || {{{population}}}
            <tr>
|-
                <th scope="row">Region</th>
|'''Places of interest''' || {{{interests}}}
                <td>{{{region|}}}</td>
|-  
            </tr>
|'''Affiliation''' || {{{affiliation}}}
            }}
|-
 
|'''Appears in''' || {{{appears}}}
            <!-- system, if available -->
|}
            {{#if:{{{system|}}}|
            <tr>
                <th scope="row">System</th>
                <td>{{{system|}}}</td>
            </tr>
            }}
           
            <!-- interests, if available -->
            {{#if:{{{interests|}}}|
            <tr>
                <th scope="row">Places of interest</th>
                <td>{{{interests|}}}</td>
            </tr>
            }}
 
            <!-- affiliation, if available -->
            {{#if:{{{affiliation|}}}|
            <tr>
                <th scope="row">Affiliation</th>
                <td>{{{affiliation|}}}</td>
            </tr>
            }}
 
            <!-- game, if available -->
            {{#if:{{{appears|}}}|
            <tr>
                <th scope="row">Game(s)</th>
                <td>{{{appears|}}}</td>
            </tr>
            }}
</table>
</onlyinclude>
</onlyinclude>


Line 39: Line 69:
|region=
|region=
|system=
|system=
|sun=
|moons=
|surface=
|climate=
|population=
|interests=
|interests=
|affiliation=
|affiliation=
Line 49: Line 74:
}}
}}
<pre>
<pre>
{{Location
{{Location
|image=
|image=
Line 54: Line 80:
|region=
|region=
|system=
|system=
|sun=
|moons=
|surface=
|climate=
|population=
|interests=
|interests=
|affiliation=
|affiliation=

Latest revision as of 04:08, 7 March 2024

Location

A template of info box for maps and levels, as well as planets, cities, etc. which are seen in JO/JA and respective modifications.


Details


Usage

Just copy the text code and fill in the necessary graphs. If no information, then fill n/a (not available).


Details

{{Location
|image=
|name=
|region=
|system=
|interests=
|affiliation=
|appears=
}}