Difference between revisions of "Form:Modification"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | ||
{{{for template|Modification}}} | {{{for template|Modification}}} | ||
− | <!-- get the | + | <!-- get the modification from the URL |
− | -->{{#vardefine: | + | -->{{#vardefine: varModification|{{#urldecode:{{#urlget:Modification|}}}}|}}<!-- |
− | --><!-- | + | -->{{#if: {{#var: varModification}}<!-- |
− | <!-- get the community | + | -->|<!-- modification is given: find the community |
− | -->{{#vardefine: | + | -->{{#vardefine: varCommunity|{{#show: {{#var: varModification}}|?Community|link=none}}}}<!-- |
+ | -->|<!-- modification is not given: get the community from url | ||
+ | -->{{#vardefine: varCommunity|{{#urldecode:{{#urlget:Community|}}}}|}}<!-- | ||
+ | -->}}<!-- | ||
--><!-- | --><!-- | ||
− | -->{{#vardefine: | + | -->{{#if: {{#var: varCommunity}}<!-- |
− | --><!-- | + | -->|<!-- the community is found (thank goodness) |
+ | --><!-- get the community's historical data precision and allow approximate dates | ||
+ | -->{{#vardefine: varHstDataPrec|{{PrintCommunityHistoricalDataPrecision|community={{#var:varCommunity|}}|}}}}<!-- | ||
+ | --><!-- | ||
+ | -->{{#vardefine: varAllowApprox|{{PrintCommunityAllowApproximateDates|community={{#var:varCommunity|}}|}}}}<!-- | ||
+ | -->|<p class="sfFieldDescription" style="font-size:2em; color:red;">A community is not found. Any modification presupposes a community. If you see this message, then please contact the admins with the details.</p><!-- | ||
+ | -->}}<!-- | ||
--> | --> | ||
{| class="formtable" | {| class="formtable" |
Revision as of 19:17, 31 August 2016
If you want to add a new suggested modification, click the button below.