Elite Dangerous Wiki:Template index/Format: Difference between revisions
Adapt imported index wording and clarify external examples |
m Protected "Elite Dangerous Wiki:Template index/Format": Pre-registration protection review: Public template catalogue ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div class="hatnote">This index |
<div class="hatnote">This index documents local templates. Follow this wiki's local policies and guidance when using the examples.</div> |
||
{{Shortcut|Project:TI/F}} |
{{Shortcut|Project:TI/F}} |
||
'''Note: This page contains details of templates relating to formatting.''' |
'''Note: This page contains details of templates relating to formatting.''' |
||
| Line 22: | Line 22: | ||
<code><nowiki>{{divbox|box color|title|content}}</nowiki></code> |
<code><nowiki>{{divbox|box color|title|content}}</nowiki></code> |
||
*''box color'': see [ |
*''box color'': see [https://elite.mistflux.co.uk/wiki/Special:PrefixIndex/Template:divstyle list] |
||
*''title'': appears '''strong''' and centered at top |
*''title'': appears '''strong''' and centered at top |
||
*''content'': any text, including markup, for which the [[m:Help:Template#Restrictions_on_parameter_values|restrictions on parameter values]] are satisfied |
*''content'': any text, including markup, for which the [[m:Help:Template#Restrictions_on_parameter_values|restrictions on parameter values]] are satisfied |
||
| Line 34: | Line 34: | ||
|{{divbox|none||<code>none</code>}} |
|{{divbox|none||<code>none</code>}} |
||
|} |
|} |
||
| Anywhere;<br> '''''but''''' be aware that [[ |
| Anywhere;<br> '''''but''''' be aware that [[Project:Manual of Style|excessive boxes may offend some users]]. Available in a range of styles; see Talk. |
||
|- |
|- |
||
<!-- End DIVBOX --> |
<!-- End DIVBOX --> |
||
| Line 55: | Line 55: | ||
<!-- All of the parameters are optional. --> |
<!-- All of the parameters are optional. --> |
||
}} |
}} |
||
([[ |
([[Project:Template index/User namespace|Userboxes]] inserted here) |
||
{{userboxbottom}} |
{{userboxbottom}} |
||
| Line 137: | Line 137: | ||
{{Elite template index}} |
{{Elite template index}} |
||
[[Category:Wikipedia text help]] |
|||
<div class="plainlinks" style="font-size:85%; margin-top:1em;">Adapted from [https://en.wikipedia.org/wiki/Wikipedia:Template_index/Format Wikipedia]; see its [https://en.wikipedia.org/w/index.php?title=Wikipedia%3ATemplate+index%2FFormat&action=history revision history] for contributors. Content is available under the Creative Commons Attribution-ShareAlike licence.</div> |
|||
Latest revision as of 21:42, 31 October 2026
Note: This page contains details of templates relating to formatting.
Templates related to descriptions (such as disambiguation, spoiler, wikicode) are listed under Template messages/General.
Templates related to issues and disputes with articles, including NPOV, are listed under Disputes templates.
| What to type | What it makes | Where it goes | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| {{divbox}} |
|
Anywhere; but be aware that excessive boxes may offend some users. Available in a range of styles; see Talk. | ||||||||
| {{userboxtop}} |
|
Collects userboxes into a single column grouping easily. | ||||||||
|
|
|
This can be used anywhere. Creates multiple columns in a single row. You can have as many columns as you want. Text is wrapped appropriately, and a margin prevents text in one column from touching text in another column. You can use any Wiki markup within the columns created by these templates. | ||||||||
|
{{col-begin}} |
|
|||||||||
{{image frame|width=175|content= [[File:Wiki.png|80px]] [[File:Wiki.png|80px]]|caption=Wiki logos}} |
this wiki logos |
For wrapping more than one image in a single image-and-caption box | ||||||||
{{hidden|header=TITLE|content=Body text}} |
TITLE
Body text |
Hide / show boxes | ||||||||
{{key press|Ctrl|F5}}
|
Ctrl+F5 | To illustrate keystrokes, both in articles and Elite Dangerous Wiki help pages. | ||||||||
|
|
Can be used anywhere. Creates an inline list that wraps correctly (i.e., only after the delimiter) | ||||||||