|
|
Linje 97: |
Linje 97: |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{ledernavn1}}} }} | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{ledernavn1}}} }} |
| |- | | |- |
| {{#if:{{{leadertitel2|}}} | | | {{#if:{{{ledertitel2|}}} | |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} -{{{ledertitel2}}} | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} -{{{ledertitel2}}} |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{ledernavn2}}} }} | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{ledernavn2}}} }} |
Linje 107: |
Linje 107: |
| {{#if:{{{leadertitel4|}}} | | | {{#if:{{{leadertitel4|}}} | |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} -{{{leadertitel4}}} | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} -{{{leadertitel4}}} |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{leadernavn4}}} }} | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{ledernavn4}}} }} |
| |- | | |- |
| {{#if:{{{ledertitel5|}}} | | | {{#if:{{{ledertitel5|}}} | |
Linje 173: |
Linje 173: |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{største_importvarer}}} }} | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{største_importvarer}}} }} |
| |- | | |- |
| {{#if:{{{wildcard_title|}}} | | | {{#if:{{{wildcard_titel|}}} | |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} '''{{{wildcard_title}}}''' | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} '''{{{wildcard_titel}}}''' |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{wildcard_name}}} }} | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{wildcard_navn}}} }} |
| |- | | |- |
| {{#if:{{{wildcard_title1|}}} | | | {{#if:{{{wildcard_titel1|}}} | |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} '''{{{wildcard_title1}}}''' | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} '''{{{wildcard_titel1}}}''' |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{wildcard_name1}}} }} | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{wildcard_navn1}}} }} |
| |- | | |- |
| {{#if:{{{wildcard_title2|}}} | | | {{#if:{{{wildcard_titel2|}}} | |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} '''{{{wildcard_title2}}}''' | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} '''{{{wildcard_titel2}}}''' |
| {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{wildcard_name2}}} }} | | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{wildcard_navn2}}} }} |
| | |- |
| | {{#if:{{{wildcard_titel3|}}} | |
| | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} '''{{{wildcard_titel3}}}''' |
| | {{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{wildcard_navn3}}} }} |
| |- | | |- |
| {{#if:{{{nationaldyr|}}} | | | {{#if:{{{nationaldyr|}}} | |
Hvordan denne infobox bruges:
The fields appearing on the right are all mandatory fields that must be filled or else the infobox will show {{{field_name}}} when used. There are several optional fields (like "population" and "internet_tld") qualified by the "IF" qualifier in the code. You can peruse the code to see if the new field you want is already there. There are three wildcard fields which you can use to create up to three new fields. For example, if you wish to create the field "Accession to EU" and the data "1976" associated with it, you would add this when using the template in your relevant page:
- {{Infobox Country|
- .
- .
- .
- |wildcard_title = Accession to [[EU]]|
- |wilcard_name = 1976|
- .
- .
- }}
|
Note that "favourite_object_title#" (used with "favourite_object_name#") are also wildcard fields - just that they appear (& print) earlier in the template. There are five of them. Thus, in all, there are eight wildcards.
Also note that you have to choose between "Independence" and "Formation" - you cannot choose both.
All the fields available (including the optional ones) are listed at the head of the template (once you click "edit"). Again, peruse the template and try to get familiar with it. Use "preview" to test. If you still wish to add a field, edit the template using copy & paste to add the code for your new field with an "IF" qualifier. Make sure you use the "IF" qualifier or else your edit might disturb all pages linking to this template. Finally, add the name of the field you have created to the list at the top of the page.
Important note: The object behind this template is to avoid multiplicity of single-use templates (i.e. one for each nation/country/imaginary-space); towards this end this template has been made as versatile as possible without making it too complicated for visitors - like some tourist-wikipedians.