User:Sardanaphalus
Appearance
Templates
[edit]- Aligned table
- Table
- !-! ( !-!! ) / br!-! … [ If either
- both
- (Use f/)First nonempty
- If affirmed / declined ] … [ When pagename is / on template page (→template other) / on basepage
- \sandbox
- pgn ] … Treflist (Template reference list) … ASCII code
Function
[edit]Template collections
[edit]Info/navboxes etc
[edit]- / Emergence
- / Infobox UK place
- / Infobox bibliography
- / Infobox language
- / Timeline of Mongol invasions and conquests
- / Infobox nutritional value
- / Solar System (using Navbox with columns)
- / British Army Mounted Brigade
- / Design
- / Japanese era names
- / UK Local Government Acts
- / Political parties of area
- / Nuclear technology templates
Historical period/era/epoch
[edit]- Category:Prehistoric period navigational boxes
Category:Historical period templates - Category:Historical epoch sidebar templates
Prehistory History (i.e. recorded) - 01 {{Stone Age}}
- 01.1 {{Paleolithic}}
- 01.2 {{Mesolithic}}
- 01.3 {{Neolithic}}
- 02 {{Chalcolithic}}
- 03 {{Bronze Age}}
- 04 {{Iron Age}}
- 05 {{Ancient history}}
- 06 Postclassical history sidebar?
- 07 Modern history sidebar?
- (via {{Quaternary footer}})
"see also"-type templates etc
[edit]- Auxiliary template common notice (rename)
-
- Birth, death and age templates (convert this & similar to use only {{div col}}..?)
- Date templates
- Fake template list ("Fake..." and "Dummy..." templates, i.e. Fake heading / Fake tag / Fake clarify / Dummy ref / etc.)
- Image request templates / Media request templates / etc.
To finish / do
[edit]- {{When pagename is}} or {{When on page}} at start of {{Resize/doc}}
- Template:→/doc
- Category:Username internal link templates
- Convert Infoboxes using 110% listtitles to listtitles with backgrounds
- Rework Compact ToC/sandbox (updated "Parameters" doc section)
- Rename templates listed by Namespace detect see also pending outcome of "If pagename" etc rename requests (When pagename is/sandbox and documentation; If pagename multi → When on page and documentation)
- Update lang documentation (size parameter)
- Finish updating Testcases notice/doc
- Marriage/sandbox or/and new subinfobox for Infoboxes?
- Category:Inline spacing templates
- Category:Template documentation needs some reorganisation (e.g. has subcategory Documentation pages, subsubcategory Template documentation pages, …)
- Infobox settlement/sandbox
- Infobox tram network
- Tracking category
- Citation Style 1/sandbox (trying div col-based layout)
- Collapsible option/sandbox (ditto)
- Belief systems, currently titled "Theological thought" and including "X theology"..?
Formatting etc
[edit]Sandbox non-categorisation on /doc pages
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> }}</includeonly>
Images directly above/below Sidebar(/Infobox?)
Add following to Sidebar(/Infobox?) and remove newlines/comment:
| topimage = {{#if:{{{image|}}} |[[File:{{{image}}}| {{{imagesize|220px}}}|{{{imagealt|}}}|link={{{imagelink|}}}]]}} | topcaptionstyle = padding-bottom:[ 0.4 ]em;[ border-bottom:1px solid #aaa; ] | topcaption = {{{caption|}}} <!--If image parameter in use:--> | image = {{#if:{{{image|}}} | |[previous image code]}}
previous
{{Multiple image | direction = vertical | width = 250 <!--(px) (≃ 22.0em)--> | header_align = center <!--(if sidebar/infobox above image/s)--> | header = {{...| [embedded/child/child=...] }} <!--(ditto)--> | image1 = [filename] | alt1 = [text] | caption1 = {{center| [text] }} ( | image2 = [etc] ...... | image10 = [etc] ) | footer_align = center <!--(if sidebar/infobox below image/s)--> | footer = {{...| [embedded/child/child=...] }} <!--(ditto)--> }}
Sidebar / Infobox may require:
[]style = {{#switch:{{{1|}}}|embedded|child=border:none;font-size:100%;}}
Wikicode table without start-row syntax
{| ...... {| ...... ! .......... !! ...... {{br!-!!}} ... !! ...... {{br!-!}} ... || ...... {{br!-!}} .... || ...... {{br!-!}} ... || ...... |- (style="..." etc) | ........... || ...... {{br!-!}} ... || ...... (etc) (etc) |} |}
- plain
- italic
- smallcaps
- italic smallcaps
- bold
- bold italic
- bold smallcaps
- bold italic smallcaps
- ellipsis = Alt+0133
- ndash = Alt+0150
- para = Alt+0182
- equals = =
- colon = :
- Whitespace characters (also Unicode spaces)
{{int:dot-separator}}
( ≡ {{dot}}..? )- (novisibility)
visibility:hidden;
(but leaves space) - (nodisplay)
display:none;
(and no space)
- (novisibility)
- Lowercase Greek letters used as category indices:
- α (archival?)
- π (portal)
- τ (template)
- σ (stub?)
- χ (inactive, deprecated, etc)
ω (Wikipedia: / WikiProject)- .........
- {{noflag}} (or {{flagicon}} without parameter/s)
- Relative font-sizes (User:Edokter/fonttest)
- {{longitem}} = padding:0.1em 0;line-height:1.2em;
- {{longlink}} = padding:0.2em 0.4em;line-height:1.2em;
- Place content within <div [class="nocolbreak"] ''and/or'' [style="display:inline-block;"]>...</div> to prevent it being wrapped by e.g. {{Div col}}.
- "Wrap {{BASEPAGENAME}} inside {{#titleparts…}} in case category name contains an apostrophe. See warning box at mw:Help:Magic words#Page names." (User:John of Reading)
- table-layout:auto; ..... Column width set by widest unbreakable content;
table-layout:fixed; ... Horizontal layout depends only on table's and columns' widths, i.e. regardless of content.
Sidebar / subsidebar / subinfobox
- If headings given backgrounds, use contentstyle=padding-top:0.2em;padding-bottom[0.6 – 0.8]em; otherwise content starts too close to background.
- Use display:block;margin-bottom:N; in a Sidebar's titlestyle to add gap between title and first heading's background.
- {{subsidebar bodystyle}} → {{subinfobox bodystyle}} :
clear:none;float:none;width:100%;font-size:100%;margin:0;
border-collapse:collapse;border-spacing:0;border:none
border-collapse:collapse;border-spacing:0;border:none
- For a subsidebar[/infobox?] as content/listN,
- add | content/listNstyle = padding-bottom:0;
- and use: {{Sidebar |child |navbar=off
- |bodystyle={{subsidebar bodystyle}} …}}
{{Documentation}} below Navbox
}}<noinclude> {{Documentation | content = {{Collapsible option |statename=optional}} <!--[[Category:...]]--> <!--[[Category:...]]--> }}<!--(end Documentation)--> </noinclude>
Indentation
- Text following an initial colon (indent)
- Text following an intial asterisk (bullet)
Text following a {{pad|1.4em}}
Text in a div style="padding-left:1.6em;"
Text in a div style="margin-left:1.6em;"
...by increasing labelstyle line-height then padding-top.
See /Comparison of Navbox, Sidebar and Infobox parameter names
Miscellaneous[edit]
Quasi-mysterious scraps from old user pages
|
Colo/urs[edit] #ccf (navbox-title)
#ddf (navbox-abovebelow)
#e6e6ff (within navbox-subgroup)
( #e9e9ff )
( #eaeaff )
( #eef )
( gainsboro )
( #e5e5e5 )
( #e8e8e8 )
( #eee )
( whitesmoke )
( beige )
lightsteelblue ( #b0c4de )
(lighter lightsteelblue) ( #d4dfed )
"Link blue" = #002bb8
CSS classes[edit]from Wikipedia:Catalogue of CSS classes#Classes
noticed elsewhere
navbox
|