Template:George Floyd protests: Difference between revisions
replace {{Navbox|...}} wrapper template with {{#invoke:Navbox|navbox|...}} in several places to reduce post expand include size template limit and other resource usage, at a cost of 0.008 seconds of CPU. This should help with pages like George Floyd protests in the United Kingdom |
No edit summary Tags: Mobile edit Mobile web edit |
||
Line 90: | Line 90: | ||
* [[George Floyd protests in Canada|Canada]] |
* [[George Floyd protests in Canada|Canada]] |
||
* [[George Floyd protests in Germany|Germany]] |
* [[George Floyd protests in Germany|Germany]] |
||
⚫ | |||
* [[George Floyd protests in the Netherlands|Netherlands]] |
* [[George Floyd protests in the Netherlands|Netherlands]] |
||
* [[George Floyd protests in New Zealand|New Zealand]] |
* [[George Floyd protests in New Zealand|New Zealand]] |
||
⚫ | |||
* [[George Floyd protests in the United Kingdom|United Kingdom]] |
* [[George Floyd protests in the United Kingdom|United Kingdom]] |
||
Line 193: | Line 191: | ||
** [[Police use of deadly force in the United States|Use of deadly force by police]] |
** [[Police use of deadly force in the United States|Use of deadly force by police]] |
||
* [[End SARS]] |
* [[End SARS]] |
||
⚫ | |||
⚫ | |||
* [[Police accountability]] |
* [[Police accountability]] |
||
** [[Blue wall of silence]] |
** [[Blue wall of silence]] |
Revision as of 05:34, 18 October 2020
This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation. |
This is a navigational template created using {{navbox}}. It can be transcluded on pages by placing {{George Floyd protests}}
below the standard article appendices.
Initial visibility
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{George Floyd protests|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{George Floyd protests|state=expanded}}
will show the template expanded, i.e. fully visible.
Templates using the classes class=navbox
({{navbox}}) or class=nomobile
({{sidebar}}) are not displayed in article space on the mobile web site of English Wikipedia. Mobile page views account for approximately 68% of all page views (90-day average as of September 2024[update]). Briefly, these templates are not included in articles because 1) they are not well designed for mobile, and 2) they significantly increase page sizes—bad for mobile downloads—in a way that is not useful for the mobile use case. You can review/watch phab:T124168 for further discussion.
TemplateData
A navigational box that can be placed at the bottom of articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
State | state | The initial visibility of the navbox
| String | suggested |
Template transclusions
Transclusion maintenance |
---|
Check completeness of transclusions |