Modul:Political party/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
←Membuat halaman berisi '{{Module rating|general}} {{High-use}} {{Lua|Module:Arguments|Module:Delink}} == Usage == {{Mlx|{{BASEPAGENAME}}|fetch|<party>|<value>}} == Parameters == {{Transcluded section|source=Template:Political party/doc}} {{Trim|{{#section:Template:Political party/doc|Parameters}}}} ==Updating the module== The political parties contained in this module are split into alphabetised lists based on the first character of the name (for example, "Labour Party (UK)" would be...'
 
k Clean-up.
Baris 3:
{{Lua|Module:Arguments|Module:Delink}}
 
== UsagePenggunaan ==
{{Mlx|{{BASEPAGENAME}}|fetch|<party>|<value>}}
 
== ParametersParameter ==
{{Transcluded section|source=Template:Political party/doc}}
{{Trim|{{#section:Template:Political party/doc|ParametersParameter}}}}
 
==Updating the module==
Baris 24:
The first entry in square brackets is the alternate name, and the second entry only in quotes is the name found in the <code>full</code> group, seen below. Note that the alternate name of a party should be stored in its corresponding letter-based subpage; "Alabama Democratic Party" is listed in [[Module:Political party/A|/A]] even though it is an alternate name for "Democratic Party (US)" (which is stored in [[Module:Political party/D|/D]]).
 
=== TableNilai-nilai valuestabel ===
<syntaxhighlight lang=lua>
local full = {
Baris 43:
* <code>["party"] = {abbrev = "", color = "", shortname = "",},</code>
 
==ErrorPesan messagesgalat==
{| class="wikitable"
|+Module error messages and resolutions
Baris 69:
|}
 
== DataSubhalaman pagesdata ==
{{div col}}
*[[Module:Political party/1|Political party/1]]