{{Human history and prehistory}}
= {{Human prehistory}} + {{Human history}}
Prehistory | History (i.e. recorded) |
|
|
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]}}
{{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) |} |}
{{int:dot-separator}}
( ≡ {{dot}}..? )visibility:hidden;
(but leaves space)display:none;
(and no space)
To trim whitespace from {{{X}}}, use {{#if:true|{{{X|}}}}}
( ≡ {{trim}} ) (User:Mr. Stradivarius).
<ref name="…">…</ref>
<ref name="…"/>
{{#tag:ref …}}
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.
clear:none;float:none;width:100%;font-size:100%;margin:0;
border-collapse:collapse;border-spacing:0;border:none
{{Documentation}} below Navbox
}}<noinclude> {{Documentation | content = {{Collapsible option |statename=optional}} <!--[[Category:...]]--> <!--[[Category:...]]--> }}<!--(end Documentation)--> </noinclude>
Indentation
Text following a {{pad|1.4em}}
Text in a div style="padding-left:1.6em;"
Text in a div style="margin-left:1.6em;"
edit
...by increasing labelstyle line-height then padding-top.
edit See /Comparison of Navbox, Sidebar and Infobox parameter names
Miscellaneous
Quasi-mysterious scraps from old user pages
|
Colo/urs#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 classesfrom Wikipedia:Catalogue of CSS classes#Classes
noticed elsewhere
navbox
|
General topic areas according to Wikipedia templates
| |
---|---|
|