Template:Commons templates location
Generally:
- [[{{ safesubst:#switch:
|red |rd |r =File:X mark.svg |darkred |dkred |drd |dr =File:Dark red x.svg |orange |or |o =File:Orange x.svg |yellow |yel |y =File:Dark yellow x.svg |black |blk |k =File:Black x.svg |grey |gray |gry |gy =File:SemiTransBlack x.svg
|File:X mark.svg
}}|px|link=|alt=☒]] Do not place this template or any box-type template in a section all by itself.
- [[{{ safesubst:#switch:
|red |rd |r =File:X mark.svg |darkred |dkred |drd |dr =File:Dark red x.svg |orange |or |o =File:Orange x.svg |yellow |yel |y =File:Dark yellow x.svg |black |blk |k =File:Black x.svg |grey |gray |gry |gy =File:SemiTransBlack x.svg
|File:X mark.svg
}}|px|link=|alt=☒]] Do not place this template in a section containing columns without floating left.
- [[{{ safesubst:#switch:
|red |rd |r =File:X mark.svg |darkred |dkred |drd |dr =File:Dark red x.svg |orange |or |o =File:Orange x.svg |yellow |yel |y =File:Dark yellow x.svg |black |blk |k =File:Black x.svg |grey |gray |gry |gy =File:SemiTransBlack x.svg
|File:X mark.svg
}}|px|link=|alt=☒]] Do not indent this template with colon (<syntaxhighlight lang="text" class="" style="" inline="1">:</syntaxhighlight>) or a bullet (<syntaxhighlight lang="text" class="" style="" inline="1">*</syntaxhighlight>) markup.
Specifically:
- In articles, this template should be placed at the top of the last section on the page so that it floats to the right of that section.
- See Wikipedia:Wikimedia sister projects#Where to place links for more information and alternatives.
- In disambiguation pages, this template is usually placed at the top of the page.
- In categories, this template should be grouped with other templates at the beginning of the category introduction. This avoids unnecessary white space as any text is floated around the template boxes.