Template:Votings/select/doc
This is a documentation subpage for Template:Votings/select (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Usage
editThis subtemplate determines whether to display some text based on whether a particular subset of votings is being displayed and, if so, which subset the given text belongs to.
Param name | Description |
---|---|
1=
|
The text possibly to be displayed |
entry= or item=
|
The nature of this particular text (required) |
row=
|
The nature of the things currently being displayed (optional; if omitted, everything is being displayed) |
If row
is non-blank, the text is only displayed when row
is equal to entry
(or, in its absence, item
).
Row names in use at this writing are: production
, community
, admin
.
Examples
editcode | output |
---|---|
{{Votings/select|quux|entry=foo}}
|
quux |
{{Votings/select|quux|entry=foo|row=foo}}
|
quux |
{{Votings/select|quux|entry=foo|row=bar}}
|
Internals
editrow
parameter values propagate from MediaWiki:Recentchanges-summary. entry
parameter values are specified at the calls to this subtemplate in {{votings}}, {{votings/head}}, and {{votings/tail}}.