Template talk:Infobox French commune: Difference between revisions
→Polynesia: specific parameters?: edit request |
|||
Line 29: | Line 29: | ||
:::No problem, I think I can do it myself. [[User:Markussep|Markussep]] <sup>[[User talk:Markussep|Talk]]</sup> 15:03, 12 March 2019 (UTC) |
:::No problem, I think I can do it myself. [[User:Markussep|Markussep]] <sup>[[User talk:Markussep|Talk]]</sup> 15:03, 12 March 2019 (UTC) |
||
::::Even better. Nice anniversary of this issue-ette ;-) -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 16:23, 12 March 2019 (UTC) |
::::Even better. Nice anniversary of this issue-ette ;-) -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 16:23, 12 March 2019 (UTC) |
||
{{edit template-protected|Template:Infobox French commune|answered=no}} |
|||
See the discussion above. Please replace the current version of the infobox with [[Special:Permalink/887430440|the current sandbox version]]. This will add the optional parameter {{para|administrative subdivision}} for communes in French Polynesia. See [[Template:Infobox_French_commune/testcases#Test_7|test case 7]] for a demonstration. This edit changes |
|||
:<nowiki>| subdivision_type2 = {{ safesubst:#if: {{{province|}}} | [[Administrative divisions of New Caledonia|Province]] | etc. etc. }} </nowiki> |
|||
:<nowiki>| subdivision_name2 = {{ safesubst:#if: {{{province|}}} | {{{province}}} | etc. etc. }} </nowiki> |
|||
into: |
|||
:<nowiki>| subdivision_type2 = {{ safesubst:#if: {{{province|}}} | [[Administrative divisions of New Caledonia|Province]] | {{ safesubst:#if: {{{administrative subdivision|}}} | [[Administrative divisions of French Polynesia|Subdivision]] | etc. etc. }} }}</nowiki> |
|||
:<nowiki>| subdivision_name2 = {{ safesubst:#if: {{{province|}}} | {{{province}}} | {{ safesubst:#if: {{{administrative subdivision|}}} | {{{administrative subdivision}}} | etc. etc. }} }}</nowiki> |
|||
and adds {{para|administrative subdivision}} to the list of known parameters. [[User:Markussep|Markussep]] <sup>[[User talk:Markussep|Talk]]</sup> 16:46, 12 March 2019 (UTC) |
|||
==Time zone & UTC DST not working== |
==Time zone & UTC DST not working== |
Revision as of 16:47, 12 March 2019
This is the talk page for discussing improvements to the Infobox French commune template. |
|
Archives: 1, 2, 3Auto-archiving period: 14 days |
France: French communes Template‑class | ||||||||||
|
This template was considered for deletion on 17 August 2013. The result of the discussion was "rewrite as a wrapper for {{infobox settlement}} .". |
Polynesia: specific parameters?
I have cleaned up the tracking tracking category. The 40 or so pages left have these two parameters, so far unknown in the template: |administrative subdivision=
and |commune center=
. See for example Hiva-Oa.
They seem to be specific for French Polynesia communes.
|administrative subdivision=
See French Polynesia#Administrative divisions. Looks like a formal administrative layer (one above the commune) in F.P. So should it be added?
|commune center=
looks like the actual village or town. To add?
I am not an expert in this, so I leave it. pls ping me if you want further contact. - DePiep (talk) 10:24, 12 March 2018 (UTC)
- You're right @DePiep:, there are five official administrative subdivisions in French Polynesia. I found some references and added them to the Administrative divisions of French Polynesia article. I think it's good to add them to the infobox, similar to the
|province=
parameter for New Caledonia. I'm not sure we need the|commune center=
. Markussep Talk 14:06, 12 March 2019 (UTC)
- At the moment I can not strive to add this parameter. Hope you can find someone else who can help you? -DePiep (talk) 14:25, 12 March 2019 (UTC)
- No problem, I think I can do it myself. Markussep Talk 15:03, 12 March 2019 (UTC)
- Even better. Nice anniversary of this issue-ette ;-) -DePiep (talk) 16:23, 12 March 2019 (UTC)
- No problem, I think I can do it myself. Markussep Talk 15:03, 12 March 2019 (UTC)
It is requested that an edit be made to the template-protected template at Template:Infobox French commune. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · test cases · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the template's sandbox and test them thoroughly here before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
See the discussion above. Please replace the current version of the infobox with the current sandbox version. This will add the optional parameter |administrative subdivision=
for communes in French Polynesia. See test case 7 for a demonstration. This edit changes
- | subdivision_type2 = {{ safesubst:#if: {{{province|}}} | [[Administrative divisions of New Caledonia|Province]] | etc. etc. }}
- | subdivision_name2 = {{ safesubst:#if: {{{province|}}} | {{{province}}} | etc. etc. }}
into:
- | subdivision_type2 = {{ safesubst:#if: {{{province|}}} | [[Administrative divisions of New Caledonia|Province]] | {{ safesubst:#if: {{{administrative subdivision|}}} | [[Administrative divisions of French Polynesia|Subdivision]] | etc. etc. }} }}
- | subdivision_name2 = {{ safesubst:#if: {{{province|}}} | {{{province}}} | {{ safesubst:#if: {{{administrative subdivision|}}} | {{{administrative subdivision}}} | etc. etc. }} }}
and adds |administrative subdivision=
to the list of known parameters. Markussep Talk 16:46, 12 March 2019 (UTC)
Time zone & UTC DST not working
This edit request to Template:Infobox French commune/regmap has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Infobox French commune | |
---|---|
Country | France |
Time zone | UTC+01:00 (CET) |
• Summer (DST) | UTC+02:00 (CEST) |
The template emits erroneous output if parameters |time zone DST=
and |utc offset DST=
are used. I suspect an OR pipe is missing between the 4th and the 5th sets of brackets in the treatment of those parameters. Further, the defaults for |utc offset=
and |utc offset DST=
ought to be "+01:00" and "+02:00" (sans quotes), respectively, not "+1" and "+2". -- Michael Bednarek (talk) 12:51, 25 November 2018 (UTC)
- Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. Izno (talk) 14:54, 25 November 2018 (UTC)
- Michael Bednarek, thank you for finding the typos. should be fixed now. Frietjes (talk) 18:35, 25 November 2018 (UTC)
- Frietjes, thank you for fixing both. -- Michael Bednarek (talk) 01:43, 26 November 2018 (UTC)
Please disambiguate Marne
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please disambiguate Marne → Marne (department) following its page move, as I have done in the sandbox. Certes (talk) 16:32, 5 January 2019 (UTC)
Template-protected edit request on 11 March 2019
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please replace the current version of the infobox with the current sandbox version. This will add the possibility to use this infobox for settlements that are part of a commune, including former communes. It adds a caption and line showing wich commune it is part of, and hides the INSEE code (but uses the INSEE code, or the department code instead, to get the correct region, department and map). See test case 6 for a demonstration of this new functionality. This edit changes
- | settlement_type = {{{commune status|}}}
into:
- | settlement_type = {{ safesubst:#if: {{{commune|}}} | {{{type|part}}} of {{Link if exists|{{{commune}}} }} | {{{commune status|}}} }}
and
- | postal_code_type = [[INSEE code|INSEE]]/Postal code
- | postal_code = {{ safesubst:#if:{{{insee|{{{INSEE|}}}}}} | [https://www.insee.fr/fr/statistiques/1405599?geo=COM-{{{insee|{{{INSEE}}}}}} {{{insee|{{{INSEE}}}}}}] / }}{{{postal code|}}}
into:
- | postal_code_type = {{ safesubst:#if: {{{commune|}}} | Postal code | [[INSEE code|INSEE]]/Postal code }}
- | postal_code = {{ safesubst:#if: {{{commune|}}} | {{{postal code|}}} | {{ safesubst:#if:{{{insee|{{{INSEE|}}}}}} | [https://www.insee.fr/fr/statistiques/1405599?geo=COM-{{{insee|{{{INSEE}}}}}} {{{insee|{{{INSEE}}}}}}] / }}{{{postal code|}}} }}
and adds:
- | subdivision_type6 = {{ safesubst:#if: {{{commune|}}} | [[Communes of France|Commune]] }}
- | subdivision_name6 = {{{commune}}}
The field "type" can be used to describe the status of the settlement, for instance "commune déléguée". It defaults to "part". Markussep Talk 10:24, 11 March 2019 (UTC)
- Done -- /Alex/21 13:15, 12 March 2019 (UTC)
- Thanks! Markussep Talk 13:39, 12 March 2019 (UTC)
- Ah, I see I have to add the fields "commune" and "type" to the list of known parameters for Module:Check for unknown parameters. I did it in the sandbox just now, could you update that too? Markussep Talk 13:46, 12 March 2019 (UTC)
- Done -- /Alex/21 13:58, 12 March 2019 (UTC)
- Thanks again! Markussep Talk 13:59, 12 March 2019 (UTC)