User:Spinningspark/Coding and formatting
- Help:Displaying a formula
- mw:Help:Magic words
- mw:Help:Extension:ParserFunctions
- Help:Parser function
- mw:Extension:Parser function extensions
- mw:Extension:VariablesExtension not available WP
- Help:Cascading style sheets
- CSS Properties
- Wikipedia:Catalogue of CSS classes includes links to javascript
- Javascript tutorial and reference
- wikibits.js
- Wikipedia:WikiProject User scripts/Techniques namespace references etc
- Wikipedia:Gadget
Templates
<br style="clear:left;"/>
Not substed,
![]() | Yes, it must be |
Categories
Don't CAT the Sandbox!!!!
[[Category:Puzzles]]
To make a link to a category without categorising the page
[[:Category:Automotive technologies]]
To force a sort order
[[Category:Mechanical puzzles|Puzzles, Mechanical]]
To force to top of list (Space is lower in ASCII)
[[Category:Rubik's Cube| ]]
Locator Maps
Locator template (example):
Clickable image
{{Click |image = <image to be linked> |size = <size of the image> |width = <width of the image> DEPRECATED |height = <height of the image, optional> DEPRECATED |link = <page the image must link to> |title = <the label for the image, optional> |desc = <location of a description link, optional> }}
Template:Superimpose2 for up to 50 superimposed images
Link
Click here to see Pamela Anderson naked
Ha ha, very cute
How to do stuff: part 106
Actual Signature for 4 tildes: SpinningSpark 19:45, 4 January 2008 (UTC)
SpinningSpark more text more text
SpinningSpark text text text text
SpinningSpark
SpinningSpark
SpinningSpark
SpinningSpark
SpinningSpark
SpinningSpark
SpinningSpark
SpinningSpark
SpinningSpark
SpinningSpark
SpinningSpark
SpinningSpark
Edit help: How to put paragraphs within a single bulleted item?
<huge amount of not-so-good intervening suggestions removed>
- I'd say the best option to use is partial HTML. Have a standard bulleted list, but use <p> tags on the long item. Example:
- Item 1
- Item 2
Item 3 with a really long boring block of text that really should be broken into two or more paragraphs but there's no apparant way to do it. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- Item 4
- This method keeps the bulleted list while allowing for paragraph breaks. Pyrospirit (talk · contribs) 02:40, 2 January 2008 (UTC)
- I'd say the best option to use is partial HTML. Have a standard bulleted list, but use <p> tags on the long item. Example:
Heading 1
Heading 2
- Bullet
- Bullet
- Bullet
- Bullet
- Number
- Number
- Number
- Number
- Indent
- Indent
- Indent
- Indent
Heading 3
Heading 4
Heading 5
Heading 6
=Heading 7=
References
text text[1] text[2] text[3] text text text. Now is the time for all good men to come to the aid of the party. Now is [3] the time for all good men to come to the aid of the party.[4]
How do you make notes [3] and [4] link to the same reference? I am sure I have seen this done in some articles.
Yipee!!!! done it! That was hard work.
References
- Another reference written in small references
<div class="references-small">
A great example of use of footnotes/references/bibliography using a footnotes template can be found in Niagara Falls Suspension Bridge
{{Ref label|truss|k|none}} {{Note label|start|a|none}}
A much[note 1] better way though[note 2], is;
<ref group=note>
Grouped notes
{{Reflist|group=note}}
OR[note 1]
- ^ A footnote
<references group=note />
Fonts
Can be used with <span>, <p> or <font> tags.
style="font-style:italic;" |
Now is the time for all good men to come to the aid of the party |
style="font-style:normal;" |
Now is the time for all good men to come to the aid of the party |
style="font-weight:bold;" |
Now is the time for all good men to come to the aid of the party |
style="font-weight:normal;" |
Now is the time for all good men to come to the aid of the party |
style="font-family:times;" |
Now is the time for all good men to come to the aid of the party |
style="font-family:times new roman;" |
Now is the time for all good men to come to the aid of the party |
style="font-family:courier;" |
Now is the time for all good men to come to the aid of the party |
style="font-family:monospace;" |
Now is the time for all good men to come to the aid of the party |
style="font-family:courier new;" |
Now is the time for all good men to come to the aid of the party |
style="font-family:script;" |
Now is the time for all good men to come to the aid of the party |
style="font-style:italic;color:red;" |
Now is the time for all good men to come to the aid of the party |
style="font-size:16pt;" |
16 point font |
Colour match
Series colour | Allotrope colour |
---|---|
alkali metal | |
alkaline earth metal | |
lanthanide | |
actinide | |
transition metal | |
poor metal | |
metalloid | |
nonmetal | |
halogen | |
noble gas |
Code snip for setting heading colours.
|-<!-- ELEMENT PHYSICAL PROPERTIES --> ! colspan=2 style="background:<!-- COLOR 1 -->#{{#if:{{{series color|}}}|{{{series color}}}|{{#switch:{{{series}}} |alkali metal|alkali metals=FF6666 |alkaline earth metal|alkaline earth metals=FFDEAD |lanthanide|lanthanides=FFBFFF |actinide|actinides=FF99CC |transition metal|transition metals=FFC0C0 |poor metal|poor metals=CCCCCC |metalloid|metalloids=CCCC99 |nonmetal|non-metal|nonmetals|non-metals=A0FFA0 |halogen|halogens=FFFF99 |noble gas|noble gases=C0FFFF }}}}; <!-- COLOR 2 -->{{#if:{{{phase color|}}}|color:{{{phase color}}}|color:#{{#switch:{{{phase}}} |Gas|gas=008000 |Liquid|liquid=0000FF |Solid|solid=000000 }}}}" | <center>Physical properties</center><!-- ALLATROPE 1 PHYSICAL PROPERTIES --> {{#if:{{{allatrope 1|}}}| {{!}}- ! colspan=2 style="background:<!-- COLOR 1 -->#{{#if:{{{series color|}}}|{{{series color}}}|{{#switch:{{{series}}} |alkali metal|alkali metals=FFA9A9 |alkaline earth metal|alkaline earth metals=FFE6C3 |lanthanide|lanthanides=FFE3FF |actinide|actinides=FFCEE6 |transition metal|transition metals=ffd8d7 |poor metal|poor metals=e1e2e2 |metalloid|metalloids=e2e2bc |nonmetal|non-metal|nonmetals|non-metals=caffca |halogen|halogens=ffffc7 |noble gas|noble gases=e2ffff }}}}; <!-- COLOR 2 -->{{#if:{{{phase color|}}}|color:{{{phase color}}}|color:#{{#switch:{{{phase}}} |Gas|gas=008000 |Liquid|liquid=0000FF |Solid|solid=000000 }}}}" {{!}}<center>{{{allatrope 1}}}</center>|}}<!-- -->