Difference between revisions of "Template:George Floyd protests map/doc"
Jump to navigation
Jump to search
imported>Davidwr (hatnote listing all 3 templates) |
imported>Davidwr (Reverted to revision 984059640 by Davidwr (talk): Not ready to advertise the two sub-templates yet) |
||
| Line 3: | Line 3: | ||
<div style="border-left: 5px solid red; padding-left: 1rem;"> | <div style="border-left: 5px solid red; padding-left: 1rem;"> | ||
| − | + | To contribute: | |
| − | |||
| − | |||
'''''Preflight checklist''''' | '''''Preflight checklist''''' | ||
| Line 21: | Line 19: | ||
Thank you! | Thank you! | ||
</div> | </div> | ||
| − | + | ||
<div style="border-left: 5px solid green; padding-left: 1rem;"> | <div style="border-left: 5px solid green; padding-left: 1rem;"> | ||
| − | To use: <code><nowiki>{{George Floyd protests map | + | To use: <code><nowiki>{{George Floyd protests map}}</nowiki></code>, optionally with arguments. |
You can specify these parameters that'll be passed to {{tl|maplink}}: | You can specify these parameters that'll be passed to {{tl|maplink}}: | ||
| Line 36: | Line 34: | ||
For example, a large world map is generated by <code><nowiki>{{George Floyd protests map|width=1000|height=680|zoom=2|coords={{coord|0|10}}|text=}}</nowiki></code>. | For example, a large world map is generated by <code><nowiki>{{George Floyd protests map|width=1000|height=680|zoom=2|coords={{coord|0|10}}|text=}}</nowiki></code>. | ||
</div> | </div> | ||
| − | |||
<!--{{George Floyd protests map|width=1000|height=680|zoom=2|coords={{coord|0|10}}|text=}}--> | <!--{{George Floyd protests map|width=1000|height=680|zoom=2|coords={{coord|0|10}}|text=}}--> | ||
Latest revision as of 02:45, 18 October 2020
| This is a documentation subpage for Template:George Floyd protests map. It contains usage information, categories and other content that is not part of the original template page. |
To contribute:
Preflight checklist
- Make sure the location is not yet on the map.
- Make sure there were at least 100 protestors.
- Ensure the protest is listed and cited in the US list, International list, or one of the state/location-specific articles linked from the topic template.
- Update the text of those articles—WITH SOURCES—if the location is not yet listed.
Then, and only then:
- Find the decimal representation of a locations's coordinates. For example, for Minneapolis, click the coordinates in the infobox on the Minneapolis article, and copy the decimal representation
44.981944, -93.269167from the top of the GeoHack page. - Use "Edit Source" on this page to view the {{maplink}} parameters. Scroll to the bottom of the source and follow the instructions there. (You can mimic the format of any city to add another city.)
Thank you!
To use: {{George Floyd protests map}}, optionally with arguments.
You can specify these parameters that'll be passed to {{maplink}}:
- width — default:
350 - height — default:
250 - zoom — default:
3 - coords — default:
{{coord|38.828175|-96.5795}} - text — default: (see above)
- jurisdiction_filter — default:
^. This is a Mediawiki Lua pattern. Use^US%-MN$for just protests in Minnesota, for example. - infobox — default: not set. Set to
yes(or any other value) to use formatting appropriate for infoboxes: plain frame, centered, text not displayed (appropriate text should instead be placed in the relevant caption parameter).
For example, a large world map is generated by {{George Floyd protests map|width=1000|height=680|zoom=2|coords={{coord|0|10}}|text=}}.