Difference between revisions of "Further formatting tests"

From geofiction
Jump to navigation Jump to search
m
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Already finished tests:
 +
*[[Test:Links and anchors]]
 +
*[[Test:TOC]], [[Test:TOC0]], [[Test:TOC1]], [[Test:TOC2]], [[Test:TOC3]], [[Test:TOC4]]
 +
*[[Test:Headlines]], [[Test:Headlines2]]
  
 
+
===X===
 
+
<includeonly><table class="infobox">
 
+
<tr class="cont"><th colspan="2" style="text-align:center; background: #e8caca;>[[File:Community Noun project 4864.svg|50px|link=]]</th></tr>
 
+
<tr><th colspan="2" style="text-align:center; background: #e8caca;">Geography of {{{name|{{PAGENAME}}}}}</th></tr><!--
 
+
-->{{#if:{{{continent|}}}|<tr {{#if:{{{region|}}}| class="cont" |}}><td><b>Continent</b></td><td>{{{continent|}}}</td></tr>|}}<!--
 
+
-->{{#if:{{{region|}}}|<tr><td><b>Region</b></td><td>{{{region|}}}</td></tr>|}}<!--
 +
-->{{#if:{{{population|}}}|<tr><td><b>Population</b></td><td>{{{population|}}} ({{{population_year|}}})</td></tr>|}}<!--
 +
-->{{#if:{{{area_km2|}}}{{{area_sq_mi|}}}|<tr class="cont"><td><b>Area</b></td><td></td></tr>
 +
<tr {{#if:{{{percent_water|}}}| class="cont" |}}><td>&bull; Total</td><td>{{#if:{{{area_km2|}}}|{{{area_km2|}}} km<sup>2</sup> {{#if:{{{area_sq_mi|}}}|<br />|}} |}}{{#if:{{{area_sq_mi|}}}|{{{area_sq_mi|}}} sq mi|}}</td></tr>|}}<!--
 +
-->{{#if:{{{percent_water|}}}|<tr><td>&bull; Water (%)</td><td>{{{percent_water|}}}</td></tr>|}}<!--
 +
-->{{#if:{{{density_km2|}}}{{{density_sq_mi|}}}|<tr><td><b>Population density</b></td><td>{{#if:{{{density_km2|}}}|{{{density_km2|}}} km<sup>2</sup> {{#if:{{{density_sq_mi|}}}|<br />|}} |}}{{#if:{{{density_sq_mi|}}}|{{{density_sq_mi|}}} sq mi|}}</td></tr>|}}<!--
 +
-->{{#if:{{{custom_label1|}}}{{{custom1|}}}|<tr><td><b>{{{custom_label1|}}}</b></td><td>{{{custom1|}}}</td></tr>|}}<!--
 +
-->{{#if:{{{custom_label2|}}}{{{custom2|}}}|<tr><td><b>{{{custom_label2|}}}</b></td><td>{{{custom2|}}}</td></tr>|}}<!--
 +
-->{{#if:{{{time_zone|}}}|<tr><td><b>[[Index:Time zones|Time zone]]</b></td><td>{{{time_zone|}}}</td></tr>|}}
 +
</table>
 +
</includeonly><noinclude>
 +
This infobox is designed to provide an overview of a basic geographical overview of your territory. Two custom fields are available, so that location-specific information may be listed such as 'major rivers.'
 +
<pre>
 +
{{Infobox geography
 +
| name = (territory name)
 +
| continent =
 +
| region =
 +
| population =
 +
| population_year =
 +
| area_km2 =
 +
| area_sq_mi =
 +
| percent_water =
 +
| density_km2 =
 +
| density_sq_mi =
 +
| custom_label1 = (custom label that appears in bold on the left side of the infobox)
 +
| custom1 = (custom information that is defined by custom_label1)
 +
| custom_label2 = (custom label that appears in bold on the left side of the infobox)
 +
| custom2 = (custom information that is defined by custom_label1)
 +
| time_zone =
 +
}}
 +
</pre>
  
 
==External figures==
 
==External figures==

Latest revision as of 00:29, 4 January 2023

Already finished tests:

X

This infobox is designed to provide an overview of a basic geographical overview of your territory. Two custom fields are available, so that location-specific information may be listed such as 'major rivers.'

{{Infobox geography
| name = (territory name)
| continent =
| region =
| population =
| population_year =
| area_km2 = 
| area_sq_mi = 
| percent_water =
| density_km2 =
| density_sq_mi =
| custom_label1 = (custom label that appears in bold on the left side of the infobox)
| custom1 = (custom information that is defined by custom_label1)
| custom_label2 = (custom label that appears in bold on the left side of the infobox)
| custom2 = (custom information that is defined by custom_label1)
| time_zone =
}}

External figures

File:Https://i.imgur.com/M70CXBo.png
include external source


Multiple columns of tables

test 1

a
b
cd
a
b
cd
a
b
cd
a
b
cd

test 2

aaaaaa
Description ...
Description ...
Description ...
Description ...
Description ...
aaaaaa
Description ...
aaaaaa
Description ...
aaaaaa
Description ...

test 3

aaaaaa
Description ...
aaaaaa
Description ...

test 4

Table 1
gvjhgvhhtcfh tfhcfh hf hcf hchcfh cthcf
Table 2
hjgjgvj hgjgj gjh ghj ghj gjh ghjhg fgh hfgh fgh