Template:Proposal page: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
(added translations from Template:RU:Proposal Page)
(some clenup with missing status values, fix sort keys, add French translation)
Line 1: Line 1:
{| class="vcard" style="margin: 5px 0; padding: 5px; {{#switch: {{Proposal_Status|{{{status|}}}}}
{|class="vcard" dir="ltr" style="margin:2px 0;{{#switch: {{Langcode}}
| he | yi | ar | fa | ur | ps | sd | dv = float:left;margin-right:.5em
| Approved = background-color: #ddffdd;
#default = float:right;margin-left:.5em
| Inuse = background-color: white;
}};background:#{{#switch: {{Proposal Status|{{{status|}}}}}
| De facto = FFC
| Approved = DFD
| In use
| Draft
| Proposed
| Voting
| Post-Vote = EEE
| Discardable
| Discardable
| Deprecated = background-color: #f99;
| Deprecated
| Obsolete
| Obsoleted
| Superseded
| Obsoleted = background-color: #f99;
| Inactive
| Inactive
| Canceled
| Abandoned = background-color: #f99;
| Abandoned
| Rejected = background-color: #f99;
| Proposed
| Rejected = F99
| Voting
| Draft = background-color: lightgray;
| Defacto = background-color: lightyellow;
| Unspecified
| Unspecified
| Undefined
| Undefined
| #default = background-color: white;
| #default = EEE
}} border:1px solid;"
}};border:1px solid #AAA;padding:5px"
|-
|-
! colspan=2 style="border-bottom: 1px solid; text-align: left;" | <font size=5>{{{name|<name>}}}</font>
!colspan="2" style="border-bottom:1px solid #AAA;text-align:left;font-size:120%"| {{{name<noinclude>|''name''</noinclude>}}}
|-
|-
! {{left}} <font size=3>{{#switch: {{lc:{{{lang|{{Langcode}}}}}}}
!style="text-align:left"| {{#switch: {{#if: {{{lang|}}} | {{lc:{{{lang|}}}}} | {{Langcode}} }}
| fr = Statut :
| ru=Статус:
| ru = Статус:
| #default =Status:
| #default = Status:
}}</font>
}}
| <includeonly>{{#switch: {{Proposal_Status|{{{status}}}}}
| {{#switch: {{Proposal Status|{{{status}}}}}
| Approved = [[:Category:Proposals with "{{{status}}}" status|{{{status}}}]] [[:Category:Active_features|(active)]] [[Category:Proposals with "{{{status}}}" status|{{{name}}}]][[Category:Active_features|{{{status}}} {{{name}}}]]
| De facto
| Approved = [[:Category:Proposals with "{{Proposal Status|{{{status}}}}}" status|{{Proposal Status|{{{status}}}}}]] ([[:Category:Active features|active]])
| In use
| Draft
| Proposed
| Proposed
| Voting = [[:Category:Proposals with "{{Proposal Status|{{{status}}}}}" status|{{Proposal Status|{{{status}}}}}]] ([[:Category:Proposed features under way|under way]])
| Draft
| Post-Vote = [[:Category:Proposals without post-vote cleanup|Proposals without post-vote cleanup]]
| Voting = [[:Category:Proposals with "{{{status}}}" status|{{{status}}}]] ([[:Category:Proposed_features_under_way|under way]]) [[Category:Proposals with "{{{status}}}" status|{{{name}}}]][[Category:Proposed_features_under_way|{{{status}}} {{{name}}}]]
| Discardable
| Post-Vote = [[:Category:Proposals without post-vote cleanup|Proposals without post-vote cleanup]] [[Category:Proposals without post-vote cleanup]]
| Deprecated
| Obsoleted
| Superseded
| Inactive
| Canceled
| Abandoned
| Abandoned
| Rejected = [[:Category:Proposals with "{{{status}}}" status|{{Proposal Status|{{{status}}}}}]] ([[:Category:Inactive features|inactive]])
| Canceled
| #default = [[:Category:Proposals admin|Proposals with undefined or invalid status]] ([[:Category:Inactive features|inactive]])
| Rejected
}}<!--
| Obsoleted = [[:Category:Proposals with "{{{status}}}" status|{{{status}}}]] ([[:Category:Inactive_features|inactive]]) [[Category:Proposals with "{{{status}}}" status|{{{name}}}]][[Category:Inactive_features|{{{status}}} {{{name}}}]]
-->{{#if: <noinclude>1<noinclude>{{{users|}}}{{{user|}}}|<nowiki/>
| [[:Category:Proposals admin|Proposals with undefined or invalid status]] ([[:Category:Inactive_features|inactive]]) [[Category:Proposals with undefined or invalid status|{{{name}}}]][[Category:Inactive_features|{{{status}}} {{{name}}}]]
{{!}}-
}}</includeonly>
!style="text-align:left"{{!}} {{#switch: {{#if: {{{lang|}}} | {{lc:{{{lang|}}}}} | {{Langcode}} }}
|-
| fr = Proposé par :
! {{left}} {{#switch: {{lc:{{{lang|{{Langcode}}}}}}}
| ru =Предложена:
| ru = Предложена:
| #default =Proposed by:
| #default = Proposed by:
}}
{{!}} {{#if: {{{users|}}} | {{{users|}}} | {{#if: {{{user|}}} | [[User:{{{user|}}}|{{{user|}}}]] | ''unknown'' }} }}
}}<!--
-->{{#if: <noinclude>1<noinclude>{{{key|}}}|<nowiki/>
{{!}}-
!style="text-align:left"{{!}} {{#switch: {{#if: {{{lang|}}} | {{lc:{{{lang|}}}}} | {{Langcode}} }}
| fr = Balisage :
| ru = Схема тегирования:
| #default = Tagging:
}}
{{!}} {{Tag|1={{{key|<noinclude>''key''</noinclude>}}}|2={{{value|<noinclude>''value''</noinclude>}}}}}
}}<!--
-->{{#if: <noinclude>1<noinclude>{{{definition|}}}|<nowiki/>
{{!}}-
!style="text-align:left"{{!}} {{#switch: {{#if: {{{lang|}}} | {{lc:{{{lang|}}}}} | {{Langcode}} }}
| fr = S’applique à :
| ru = Используется на элементах:
| #default = Applies to:
}}
{{!}} {{{type|''type''}}}
}}<!--
-->{{#if: <noinclude>1<noinclude>{{{definition|}}}|<nowiki/>
{{!}}-
!style="text-align:left"{{!}} {{#switch: {{#if: {{{lang|}}} | {{lc:{{{lang|}}}}} | {{Langcode}} }}
| fr = Définition :
| ru = Определение:
| #default = Definition:
}}
{{!}} {{{definition|''definition''}}}
}}<!--
-->{{#if: <noinclude>1<noinclude>{{{appearance|}}}|<nowiki/>
{{!}}-
!style="text-align:left"{{!}} {{#switch: {{#if: {{{lang|}}} | {{lc:{{{lang|}}}}} | {{Langcode}} }}
| fr = Rendu comme :
| ru = Отображается как:
| #default = Rendered as:
}}
{{!}} {{{appearance|''appearance''}}}
}}<!--
-->{{#if: <noinclude>1<noinclude>{{{draftStartDate|}}}{{{proposalDate|}}}|<nowiki/>
{{!}}-
!style="text-align:left"{{!}} {{#switch: {{#if: {{{lang|}}} | {{lc:{{{lang|}}}}} | {{Langcode}} }}
| fr = [[:Category:Proposals with "Draft" status|ébauché]] le :
| ru = В [[:Category:Proposals with "Draft" status|черновиках]] с:
| #default = [[:Category:Proposals with "Draft" status|Drafted]] on:
}}
{{!}} {{{draftStartDate|<noinclude>''draftStartDate''<noinclude>}}}
}}<!--
-->{{#if: <noinclude>1<noinclude>{{{proposalDate|}}}|<nowiki/>
{{!}}-
!style="text-align:left"{{!}} {{#switch: {{#if: {{{lang|}}} | {{lc:{{{lang|}}}}} | {{Langcode}} }}
| fr = [[:Category:Proposals with "Proposed" status|Proposé]] le :
| ru = В [[:Category:Proposals with "Proposed" status|черновиках]] с:
| #default = [[:Category:Proposals with "Proposed" status|Proposed]] on:
}}
{{!}} {{{proposalDate|<noinclude>''proposalDate''<noinclude>}}}
}}<!--
-->{{#if: <noinclude>1<noinclude>{{{voteStartDate|}}}|<nowiki/>
{{!}}-
!style="text-align:left"{{!}} {{#switch: {{#if: {{{lang|}}} | {{lc:{{{lang|}}}}} | {{Langcode}} }}
| fr = Début de [[{{TALKPAGENAME}}|discussion]] :
| ru = начало [[{{TALKPAGENAME}}|обсуждения]]:
| #default = [[{{TALKPAGENAME}}|RFC]] start:
}}
{{!}} {{{rfcStartDate|<noinclude>''proposalDate''<noinclude>}}}
}}<!--
-->{{#if: <noinclude>1<noinclude>{{{voteStartDate|}}}|<nowiki/>
{{!}}-
!style="text-align:left"{{!}} {{#switch: {{#if: {{{lang|}}} | {{lc:{{{lang|}}}}} | {{Langcode}} }}
| fr = Début du [[#Voting|vote]] :
| ru = [[#Voting|Голосование]] начало голосования:
| #default = [[#Voting|Vote]] start:
}}
{{!}} {{{voteStartDate|<noinclude>''voteStartDate''<noinclude>}}}
}}<!--
-->{{#if: <noinclude>1<noinclude>{{{voteEndDate|}}}|<nowiki/>
{{!}}-
!style="text-align:left"{{!}} {{#switch: {{#if: {{{lang|}}} | {{lc:{{{lang|}}}}} | {{Langcode}} }}
| fr = Fin du vote :
| ru = Окончание голосования:
| #default = Vote end:
}}
{{!}} {{{voteEndDate|<noinclude>''voteEndDate''<noinclude>}}}
}}
}}
|}<!--
| {{{users|[[User:{{{user|-}}}|{{{user|<unknown>}}}]]}}}
-->{{#switch: {{Proposal Status|{{{status}}}}}
|-
| De facto
! {{left}} {{#switch: {{lc:{{{lang|{{Langcode}}}}}}}
| Approved = [[Category:Proposals with "{{Proposal Status|{{{status}}}}}" status|{{{name}}}]][[Category:Active features|{{{name}}}]]
| ru =Схема тегирования:
| In use
| #default =Tagging:
| Draft
}}
| Proposed
| {{tag|{{{key|}}}|{{{value|*}}} }}
| Voting = [[Category:Proposals with "{{Proposal Status|{{{status}}}}}" status|{{{name}}}]][[Category:Proposed features under way|{{{name}}}]]
|-
| Post-Vote = [[Category:Proposals without post-vote cleanup|{{name}}]]
! {{left}} {{#switch: {{lc:{{{lang|{{Langcode}}}}}}}
| Discardable
| ru =Используется на элементах:
| Deprecated
| #default =Applies to:
| Obsoleted
}}
| Superseded
| {{{type|<type>}}}
| Inactive
|-
| Canceled
! {{left}} {{#switch: {{lc:{{{lang|{{Langcode}}}}}}}
| Abandoned
| ru =Определение:
| Rejected = [[Category:Proposals with "{{{status}}}" status|{{{name}}}]][[Category:Inactive features|{{{status}}} {{{name}}}]]
| #default =Definition:
| #default = [[Category:Proposals with undefined or invalid status|{{{name}}}]][[Category:Inactive features|{{{status}}} {{{name}}}]]
}}
}}<!--
| {{{definition|<definition>}}}
--><noinclude>
|-
! {{left}} {{#switch: {{lc:{{{lang|{{Langcode}}}}}}}
| ru =Отображается как:
| #default =Rendered as:
}}
| {{{appearance|<appearance>}}}
|-
! {{left}} {{#switch: {{lc:{{{lang|{{Langcode}}}}}}}
| ru =В [[:Category:Proposals with "Draft" status|черновиках]] с:
| #default =[[:Category:Proposals with "Draft" status|Draft]] start:
}}
| {{{draftStartDate|}}}{{{proposalDate|}}}
|-
! {{left}} {{#switch: {{lc:{{{lang|{{Langcode}}}}}}}
| ru =начало [[{{TALKPAGENAME}}|обсуждения]]:
| #default =[[{{TALKPAGENAME}}|RFC]] start:
}}
| {{{rfcStartDate|*}}}
|-
! {{left}} {{#switch: {{lc:{{{lang|{{Langcode}}}}}}}
| ru =[[#Voting|Голосование]] начало голосования:
| #default =[[#Voting|Vote]] start:
}}
| {{{voteStartDate|*}}}
|-
! {{left}} {{#switch: {{lc:{{{lang|{{Langcode}}}}}}}
| ru =Окончание голосования:
| #default =Vote end:
}}
| {{{voteEndDate|*}}}
|}<noinclude>
{{Documentation}}
{{Documentation}}

[[Category:Proposals admin]]<!-- wiki admin category??? -->
[[Category:Proposals admin]]
[[Category:Template with translation strings]]
[[Category:Template with translation strings]]
</noinclude><includeonly><!-- end user category??? -->
</noinclude>
[[Category:Pages using the Proposal Page template|{{{name}}}]]
<!--
<nowiki>
{{#switch: {{NAMESPACE}}
| User =
| DE = [[Category:DE:Proposed features]]
| FR = [[Category:FR:Proposed features]]
| ES = [[Category:ES:Proposed features]]
| IT = [[Category:IT:Proposed features]]
| NL = [[Category:NL:Proposed features]]
| RU = [[Category:RU:Proposed features]]
| JA = [[Category:JA:Proposed features]]
| [[Category:Proposed features]]
}}
</nowiki>
--></includeonly>

Revision as of 15:47, 5 May 2016

name
Status: Proposals with undefined or invalid status (inactive)
Proposed by: unknown
Tagging: key=value
Applies to: type
Definition: definition
Rendered as: appearance
Drafted on: draftStartDate
Proposed on: proposalDate
RFC start: proposalDate
Vote start: voteStartDate
Vote end: voteEndDate
[Edit] [Purge] Template-info.svg Template documentation

Usage Note

The Proposal Page Template was designed to be used on pages listed on the Proposed features Page. See Proposal process on how to use the template as part of the proposal process.

This template is used to mark proposals and providing a short intro.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
statusstatus

Current proposal status

Default
Invalid
Example
Draft, Proposed, Voting, Post-Vote, Approved, Rejected, Canceled, Abandoned, Inactive, Obsoleted
Stringsuggested
namename

proposal name

Example
Key:highway, Tag:highway=trunk, Use_true_instead_of_yes
Stringrequired
langlang

page language (if different from page naming)

Default
en
Example
fr
Auto value
en
Stringoptional
usersusers

Wiki user names of the contributors setting up the proposal

Auto value
Unbalanced wikitextoptional
useruser users

wiki user name of the one who set up the proposal

Auto value
Useroptional
keykey

database key

Example
highway, oneway
Stringsuggested
valuevalue

database value

Example
*, true, trunk
Stringsuggested
taggingtagging

database tag or database tags

Example
{{Tag|foo|bar}}, {{Key|bar}}
Stringsuggested
definitiondefinition

short description of the proposal (statement needed to show field 'type')

Stringrequired
typetype

database type

Example
{{IconNode}}, {{IconWay}}, {{IconArea}}, {{IconRelation}}
Templatesuggested
appearanceappearance

how should it be rendered

Example
hidden, free text, picture
Stringoptional
draftStartDatedraftStartDate

date of the first draft in yyyy-mm-dd format

Datesuggested
proposalDateproposalDate

Date of the proposition

Dateoptional
rfcStartDaterfcStartDate

date of the Request For Comments mail sent to the talk-list

Dateoptional
voteStartDatevoteStartDate

when voting can be started

Dateoptional
voteEndDatevoteEndDate

when voting is finished

Dateoptional
floatfloat

Which side of the page to position the template

Default
left
Example
left, right, center
Stringoptional
taginfotaginfo

Show taginfo statistics

Default
true
Example
true, false
Booleanoptional

See also