Modul:Political party/doc: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Rahmatdenas (bicara | kontrib) ←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}}
==
{{Mlx|{{BASEPAGENAME}}|fetch|<party>|<value>}}
==
{{Transcluded section|source=Template:Political party/doc}}
{{Trim|{{#section:Template:Political party/doc|
==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]]).
===
<syntaxhighlight lang=lua>
local full = {
Baris 43:
* <code>["party"] = {abbrev = "", color = "", shortname = "",},</code>
==
{| class="wikitable"
|+Module error messages and resolutions
Baris 69:
|}
==
{{div col}}
*[[Module:Political party/1|Political party/1]]
|