User:RSStockdale
From Wikipedia, the free encyclopedia
Wiki
|
Interests
|
About me
|
Languages
|
WikiProjects
|
Travel
|
Editing Help
| Wikitext | What it does | More info |
|---|---|---|
| Table-related | ||
| class=sortable | in wikitable, makes columns sortable | |
| {{dts|format=md|April 12, 1861}} | in wikitable sortable, date sort | Template:Date table sorting |
| {{sortname|first|last}} | in wikitable sortable, name sort | Template:Sortname |
| {{Sort|order|[[wikilink|display]]}} | in wikitable sortable, generic sort | Template:Sort |
| {{sticky header}} and class="wikitable sticky-header |
non-scrolling header; locks the table header so that it remains visible while scrolling | Template:sticky header |
| {{sticky header}} and class="wikitable sticky-header-multi |
same for non-scrolling multi-line headers must use class=sortable with multi-row |
same |
| {{row hover highlight}} and class="wikitable hover-highlight |
highlight row when mouse hovers over it | Template:row hover highlight |
| {{BLACK}} | Standard values for cell colors and text | Template:Table cell templates |
| mw-collapsible mw-collapsed | allows table to be collapsed second parm defaults it to being collapsed |
Help:Advanced table features |
| Formatting | ||
| {{convert|555|ft|m|abbr=on}} disp=br() sortable=on |
displays the first measurement and then the second in parenthesis add "disp" to put the converted on a 2nd line with brackets add "sortable" to make it sortable in a table, even when using mixed units |
Template:Convert |
| {{birth date and age|YYYY|MM|DD}} | displays the date of birth and then the age in parenthesis | Template:birth date and age |
| {{-}} {{clear}} |
force break, normally so that the paragraph text is not misaligned due to an infobox or pictures | |
| {{nbsp}} |
non-breaking space | |
| {{nbh}} | non-breaking hyphen | |
| {{val}} | formatting numeric values, especially those with scientific notations, uncertainty notations, and those with measurement values with physical units. No wrapping across lines. |
Template:val |
| {{Col-begin}} {{Col-break}} {{Col-end}} |
making & using a column can use wikipage section headers within the columns |
Template:Column |
| Infobox formatting | ||
| {{indented plainlist| * Item 1 * Item 2 * Item 3 }} |
doing a list of items; if one wraps, it indents the wrapped piece | Template:indented plainlist |
| Links & Refs & Internal notes | ||
| {{Ill|Article title|language code}} | Links to article in another language | Template:Interlanguage link |
| {{linktext|word}} | Links to Wiktionary word | Template:Linktext |
| <ref>...</ref> | place citations after punctuation | |
| <ref name=xxxx>...</ref> <ref name=xxxx /> <reflist> |
reusing a reference 1st line shows marking; 2nd shows reusing it; 3rd to include them in text |
|
| {{efn|text}}} {{notelist}} |
using an end footnote 1st line shows marking; 2nd shows using it in the text |
Template:Efn-lr many variaties exist |
| {{efn|name=name1}}} {{notelist|refs= {{efn|name=name1|some text}} {{efn|name=fn2|another}} }} |
multiple spots using same end footnote 1st line shows a ref to it; following lines show using it in the text |
Template:Efn-lr many variaties exist |
| <!-- internal note --> | to include an internal note to wiki-editors |