Template:Gov: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{#invoke:Government|main}}</includeonly><noinclude>{{documentation}}</noinclude>" |
(No difference)
|
Latest revision as of 09:35, 19 September 2020
Documentation [edit]
This template is used to retrieve the current officeholders of government positions, in order to make pages easier to maintain.
This template makes use of Lua code at Module:Government. Please use the template rather than invoking the module directly.
To update current government, see Module:Government/list. To update shortcut position names, see Module:Government.
Parameters
- first unnamed parameter: the game or category to look up.
- second unnamed parameter: the position to look up. Do not use a plural form. Shortcuts can be used as described above. All input is converted to lowercase with spaces and non-alphanumeric characters removed, so this can be used as a shortcut as well.
- bull (optional): you can use this to force the list of officeholders to be bulleted or not. By default, single-incumbent offices are not bulleted and multi-incumbent ones are. This must be either "yes" or "no".
- desc (optional): use this to show a description of any special duties for the given officeholder, if any, as described in the list module. If not specified, the description will not be shown even if it is present. This parameter only needs to be any non-empty text to work, such as "x" or "yes".
Examples
{{gov|Community|Executive}}produces:- Lord of Darkness
- Frawley
- Jesse End
- Gandroff
{{gov|Community|Executive|bull=no}}produces: Lord of Darkness, Frawley, Jesse End, Gandroff{{gov|Cyber Nations|Emperor}}produces: Lord of Darkness{{gov|Community|Director|bull=no}}produces: Marina, Ender, Xoriet{{gov|Community|Director|bull=no|desc=yes}}produces: Marina (NationStates), Ender (Events), Xoriet (Moderation){{gov|cn|io}}produces: SeasonsofLove
The above documentation is transcluded from Template:Gov/doc.