PK ref
From Sagataflwiki
(Difference between revisions)
(Reducing central divider column to 1% of total width) |
(Copying two more items to new table) |
||
Line 10: | Line 10: | ||
| colspan in table ||colspan=5| <pre>|colspan=2| 1st colspan column ||colspan=2| 2nd colspan column</pre> || use rowspan=X in the same way | | colspan in table ||colspan=5| <pre>|colspan=2| 1st colspan column ||colspan=2| 2nd colspan column</pre> || use rowspan=X in the same way | ||
|- | |- | ||
- | | | + | | Making a piped link || <pre>[[Destination|ClickMe]]</pre> || || ||rowspan=2| The basic structure of a table ||rowspan=2| |
<pre> | <pre> | ||
{|style="margin: 2px;" | {|style="margin: 2px;" | ||
Line 20: | Line 20: | ||
|rowspan=2| Table is 3 columns, 2 rows (1st row is header formatted), and includes a 2 pixel external buffer/margin on top, bottom, right and left. | |rowspan=2| Table is 3 columns, 2 rows (1st row is header formatted), and includes a 2 pixel external buffer/margin on top, bottom, right and left. | ||
|- | |- | ||
- | | | + | | Adding to a category || <pre>[[Category:XYZ]]</pre> || use on an article page or on a category page || |
|- | |- | ||
| || <pre>x</pre> || || || || <pre>x</pre> || | | || <pre>x</pre> || || || || <pre>x</pre> || |
Revision as of 20:10, 21 May 2011
Thing | Wikitext | Notes | Thing | Wikitext | Notes | |
---|---|---|---|---|---|---|
colspan in table | |colspan=2| 1st colspan column ||colspan=2| 2nd colspan column | use rowspan=X in the same way | ||||
Making a piped link | [[Destination|ClickMe]] | The basic structure of a table |
{|style="margin: 2px;" ! A !! B !! C |- | 1 || 2 || 3 |} | Table is 3 columns, 2 rows (1st row is header formatted), and includes a 2 pixel external buffer/margin on top, bottom, right and left. | ||
Adding to a category | [[Category:XYZ]] | use on an article page or on a category page | ||||
x | x | |||||
x | x | |||||
x | x | |||||
x | x | |||||
x | x | |||||
x | x | |||||
x | x | |||||
x | x | |||||
Thing | Wikitext | Notes | Thing | Wikitext | Notes |
spacer
Thing | Wikitext | Notes | Thing | Wikitext | Notes | |||
---|---|---|---|---|---|---|---|---|
Making a piped link | [[Destination|ClickMe]] | Making a redirect | #REDIRECT [[pagename]] | Must be on 1st line of page. | ||||
Adding a category | [[Category:XYZ]] | Non-breaking space | | Inserted into any normal text. | ||||
Linking to a category | [[:Category:XYZ]] | The basic structure of a table |
{|style="margin: 1px;" ! A !! B !! C |- | 1 || 2 || 3 |- | 4 || 5 || 6 |} | Table is 3 columns, 3 rows, and includes 1 pixel external buffer/margin on top, bottom, right and left. | ||||
Adding invisibly to a category | [[Category:XYZ| ]] | Article does not show up on category page | ||||||
Comment | <!-- comment --> | For starting a new article | Click me! | Leads to the template or structure for new articles | ||||
colspan in table | |colspan=2| 1st colspan column ||colspan=2| 2nd colspan column | use rowspan in the same way. | ||||||
Control font size | <font size="+1">word</font> | x | ||||||
x | x |
Note, this is a personal reference page for editor Peter Knutsen. Nobody else should ever make any alterations to this page, without explicit permisson from Peter Knutsen. You are, however, welcome to copy from it
This page contains the wikitext usage references most frequently used by Peter Knutsen, which he finds hard or impossible to remember at the present time.