Template:Censorship-table/doc

Usage
The Censorship-table template is used to build the table in the Censorship by country article. The table consists of a begin block, one or more row blocks (one for each country), and an end block. Also builds a key for the table.

Censorship-table row was the original name for the template before the use of the first positional parameter was added.

Key example
To produce a Key for a censorship by country table, use:

which produces the newer/current version of the Key:

Or use:

which produces the older/original version of the Key.

Censorship table example
Note: The data presented in the following example is not real.

To produce a censorship by country table, use:

which produces:

Remember: The data presented in the above example is not real.

Positional parameter

 * One positional parameter (required). Values:
 * key — builds a Key for the table
 * begin — required to start the table
 * row — adds a row for a country
 * end — required to end the table

Keyword parameters

 * No keyword parameters for begin or end.
 * For key there is one optional keyword parameter, version=2, which produces the newer/current version of the key.
 * For row all keyword parameters are optional except for region and one of country or alt:

Country, alternate name, and region
|country= country name |alt= alternate country name |region= { Europe | Asia | Eurasia | Oceania | NAmerica | SAmerica | Africa } If country is present and alt is not, country is used as the label and to construct wikilink targets. If both country and alt are present, country is used as the label and alt is used to construct wikilink targets. If country is not present, alt must be present, no flag icon is displayed, and alt is used as the label and to construct wikilink targets.

Freedom House Freedom of the Press Rank, Rating, and Status
|FHPressRank=  n |FHPressRating= n |FHPressStatus= { Free | Partly Free | Not Free }

Reporters Without Borders Press Freedom Rank, Index, and Status
|RWBPressRank=  n |RWBPressIndex= n.nn |RWBPressStatus= { Very good | Satisfactory | Problems | Difficult | Very serious } (key |version=2: newer/current) |RWBPressStatus= { Very good | Good | Bad | Very bad } (key: older/original)

where for key | version=2: "Very good" = "Good situation" and "Problems" = "Noticeable problems".

OpenNet Initiative (ONI) classifications
|ONIDate=            mmm yyyy |ONIPolitical=       { per | sub | sel | sus | ne | nd } |ONISocial=          { per | sub | sel | sus | ne | nd } |ONIConflictSecurity= { per | sub | sel | sus | ne | nd } |ONITools=           { per | sub | sel | sus | ne | nd } where: per=pervasive, sub=substantial, sel=selective, sus=suspected, ne=no evidence, nd=no data; and ONIDate is not currently used.

Links to Censorship, Internet censorship, Freedom of the press/speech, or Human rights in country articles
|Clink= wikilink target |IClink= wikilink target |FPlink= wikilink target |HRlink= wikilink target The link target should not include square brackets ( [ ] ) or pipe ( | ) characters, but may include a hash mark ( # ) to allow linking to a section within an article.