User:Pdfpdf/Tools and references

Useful stuff:

Tools and references

 * Google Image search for DK1 rigs
 * https://vi.wikipedia.org/wiki/Wikipedia:Guestbook_for_non-Vietnamese_speakers
 * A simple edit count.
 * Complete list of sub-pages - User.
 * Complete list of sub-pages - User talk.
 * There's a really good example of how to use wikitables in Puresprings Gospel
 * Australian Honours Order of Precedence
 * Australian campaign medals
 * List of post-nominal letters
 * Orders, decorations, and medals of Australia
 * User talk:Pdfpdf/Ribbons
 * http://www.medals.lava.pl/int/int.htm
 * Manual of Style and Templates

multicol
xxxxxxxxx


 * 1
 * 2
 * 3


 * 4
 * 5


 * 6
 * 7
 * 8


 * 9
 * 10

Inside Infobox

 * "December 31, 1999" results in "December 31, 1999"
 * "May 27, 1951" results in "May 27, 1951" (Thomas Blamey)

Dab Headers

 * results in
 * results in
 * results in
 * Parameters for Gallery:
 * {{Gallery |title= |width=150 |height=150 | lines=3 ...

Create boxes



 * | unreferenced         |
 * | unreferenced section |
 * | section |


 * | disputed             |
 * | section     |
 * | section     |


 * | Disputed-section     |
 * | disputed-section     |


 * | BLPunsourced         |


 * | BLP unsourced        |
 * | BLP unsourced section |

Categories
"The other neat thing about "lifetime" is that if the death date is blank it adds . PamD (talk) 08:34, 1 February 2009 (UTC)"

wikitable sortable
See: Help:Table | Help:Table | Help:Sorting | Template:Sortname | Template:Sortname/doc | sortname | sort | dts | nts


 * {| class="wikitable sortable"
 * !Name!!Date of action !!Conflict
 *  !class=unsortable | U1 
 * !Unit||Place of action||Location of medal
 * !class=unsortable | U2 || #
 * |Charles Anderson||align=center|1942||Second World War||zzz||2/19th Battalion||Muar River, Malaya||AWM||aaa||align=right|1
 * |Thomas Axford||align=center|1918||First World War||yyy||16th Battalion||Hamel Wood, France||AWM||bbb||align=right|2|| <-- deliberate "mistake"
 * |Peter Badcoe||style="background:#e3d9ff;" align="center"|1967*||Vietnam War||xxx||Australian Army Training Team||Huong Tra, Vietnam|| South Australian Museum ||ccc||3<--||^ <-- deliberate
 * |}
 * }}
 * |Peter Badcoe||style="background:#e3d9ff;" align="center"|1967*||Vietnam War||xxx||Australian Army Training Team||Huong Tra, Vietnam|| South Australian Museum ||ccc||3<--||^ <-- deliberate
 * |}
 * }}
 * }}

For more info, see Help:Table

Hope that answers your question, if not please put another helpme on here.

Cheers, --  Chzz  ►  12:46, 10 March 2009 (UTC)

Replied on my talk. --  Chzz  ►  13:07, 10 March 2009 (UTC)

Hi. This is actually a two part problem. And here is the working result or your original example, only making those two changes:
 * 1) The hidden template requires two attributes: header and content. You may omit the titles (i.e.,   and   are not required) unless there is an equals symbol in the content, which you have:  . Since there is an equals symbol in your content, you have to include the attribute title,.
 * 2) You also had unescaped pipe symbols inside of another template. The pipe ("|") is used to separate parameters inside of templates (as you probably know) and also used to identify table cells (as you probably also know). The problem is that the parser cannot tell if the pipe it encounters is indicating a new cell or a template parameter. In my experience, the template usually wins. Solution? It's easy. Change the pipes that relate to the table to the ! template. It looks funky when you see the code, but it fixes most problems with wiki tables inside of templates.

Of course, the solution below works well, too. Since I am very comfortable with XHTML and CSS, it's the method I usually use. But learning how to work with tables inside of templates is a highly useful skill, too. It's good to know both methods. Feel free to ask me if you run into any future issues like this. &mdash; Will scrlt ( “Talk” ) 11:55, 7 May 2009 (UTC)

Tables - a solution
Hi,

I thought about your problem, and have a possible solution.

If you use the actual code generated by the  template instead of the template itself, it would work.

You'd put this bit before all the medals; Title text here 

And this bit after them;

I've made an example in User:Chzz/table

I hope this helps.

--  Chzz  ►  14:48, 10 March 2009 (UTC)

P.S. I've also just found Help:Collapsing

--  Chzz  ►  14:51, 10 March 2009 (UTC)

Sort out wikitables in show / hide boxes

 * User:Pdfpdf/Scherger - Copy of Frederick Scherger as at 08:32, 5 April 2009 (UTC)
 * User:Pdfpdf/Scherger01 - fail - "the two templates don't play well together."
 * User:Pdfpdf/Scherger02 - partial success - put table at bottom of page & fix notes
 * User:Pdfpdf/Scherger03 - partial success - put table in a manually constructed show/hide box
 * User:Pdfpdf/Scherger04 - partial success - a different version of 03
 * User:Pdfpdf/Scherger05 - SUCCESS success - table in box at bottom of page [11:32, 5 April 2009 (UTC)]

Show / Hide
I've recently learnt some new tricks that may amuse you, and you may even find them useful.

[Before I start, do you know about   ? Whatever you put between them stays as text and doesn't get treated as markup. e.g. the text xxyy  can be seen on this page, but if I remove the    , then it will do what it is supposed to (i.e. xxyy) ]

Right!


 * First trick:

The quick brown fox jumps over the lazy dog.

results in:

The quick brown fox jumps over the lazy dog.


 * Second trick

results in:

User:Pdfpdf and
 * More tricks at

User:Pdfpdf/Tools and references

Cheers, Pdfpdf (talk) 13:54, 11 April 2009 (UTC)

Colours
Blatently stolen from User talk:B. Fairbairn

Pink Violet Fuchsia

Red Crimson Maroon Purple

Aqua Blue Navy

Lime Green Teal Olive

Yellow Gold Orange Coral

Tan Chocolate Brown

Silver Gray

That takes care of headings, external references, internal references, tables, quotes, fonts, colours, strike-through and sizes.

Still to work out loads more. B. Fairbairn (talk) 13:13, 5 April 2009 (UTC)


 * {| class="wikitable" border="1" cellspacing=1 WIDTH=300


 * style="background:black;"|.
 * style="background:pink;"|
 * style="background:violet;"|
 * style="background:fuchsia;"|
 * style="background:red;"|
 * style="background:crimson;"|
 * style="background:maroon;"|
 * style="background:purple;"|
 * style="background:aqua;"|
 * style="background:blue;"|
 * style="background:navy;"|
 * style="background:lime;"|
 * style="background:green;"|
 * style="background:teal;"|
 * style="background:olive;"|
 * style="background:yellow;"|
 * style="background:gold;"|
 * style="background:orange;"|
 * style="background:coral;"|
 * style="background:tan;"|
 * style="background:chocolate;"|
 * style="background:brown;"|
 * style="background:silver;"|
 * style="background:gray;"|
 * style="background:black;"|.
 * }
 * }
 * }

An example of (Actually, I'm not sure what it's an example of)
{{Hidden|titlestyle = background-color: #ccccff;|Variation on POTD|

Variation on POTD
}}