Bản mẫu:Show data

This template contains various independently retrievable data items about  in the form of parameter values of a variable template of choice, in a standardized fashion. It is a member of a family of templates, those with names starting with "Data" in :Category:Data templates. The system used is similar to that of Wikipedia:WikiProject Flag Template. 

**Parameters**
}}
shorter display name to be used in some contexts; an application or application parameter can specify whether this is used; only intended for dispensing with disambiguation in a context where it is not needed 
type of entity, e.g. continent, country, province, municipality
code
code description
continent, if type is lower than "continent"
country, if type is lower than "country"
province, if type is lower than "province"
popbase

population on a given date (stored without commas)
popbaseyear

year for which the population base figure applies
popbasemonth

month for which the population base figure applies
popbaseday

day for which the population base figure applies
popinc

population increase per day; used to extrapolate the population figure
land area

land area in km2 (stored without commas)
total area

total area in km2 (stored without commas)
flag image

name of the flag image (or other illustration, if there is no flag) shown above
Throughout the family of templates, fixed names are used for the parameters. (The parameter names are kept short to reduce counts for the post expand include size and the template argument size in cases where these are applicable.) However, not necessarily all parameters have been given a value: some parameters may not be applicable, while for some other parameters the value may just have not been specified yet. The table shows all parameters, and for each the value, if specified. 

**Related data templates**

**Derived data**

**Retrieval of data items**
, using parameter selection template Template:Pst2, gives the parameter land area, etc.
For retrieval of more data items it is more efficient to prepare a template for that, to be used as follows:
so that this data template needs to be called only once. The default template is Template:Show  data, producing this page.
The four parameters are optional, they are passed on to the prepared template as parameters 2-5.
Special templates:
*Template:Linkd - link to article
*Template:Poptoday - used above
*Template:Popdens - for use on the page List of sovereign states and dependent territories by population density
*Template:Poptoday 1 - for use on the page List of countries by population
*Template:Popareadens - for use on the page List of countries by population
A parameter being undefined or empty typically means the same, see below.  gives the empty string and the text "", respectively. Therefore an application checking the parameter has to check both. Checking whether a result is equal to e.g. the text "" cannot be done directly with #ifeq in a template which itself has also a parameter with that name, because if that is defined, there would be a comparison with the value instead of the text itself. Instead, it can be checked whether the first character of the result is "{", e.g.: | 
Until here the documentation is automatically generated by Template:Show data.