PK ref

From Sagataflwiki

(Difference between revisions)
Jump to: navigation, search
(Adding entry to control column width)
(genericizing contents of example header row piece)
Line 1: Line 1:
-
 
{|style="margin: 3px 3px 3px 3px;"
{|style="margin: 3px 3px 3px 3px;"
! Thing
! Thing
Line 9: Line 8:
! Notes
! Notes
|-
|-
-
| colspan in table ||colspan=5| <pre>!!scope="col" style="width: 25em;" | Flaw !! </pre> || preferably place in header row
+
| colspan in table ||colspan=5| <pre>!!scope="col" style="width: 25em;" | stuff !! stuff </pre> || preferably place in header row
|-
|-
| control column width ||colspan=5| <pre>|colspan=2| 1st colspan cell ||colspan=2| 2nd colspan cell</pre> || use rowspan=X in the same way
| control column width ||colspan=5| <pre>|colspan=2| 1st colspan cell ||colspan=2| 2nd colspan cell</pre> || use rowspan=X in the same way

Revision as of 15:36, 29 May 2011

Thing Wikitext Notes Thing Wikitext Notes
colspan in table
!!scope="col" style="width: 25em;" | stuff !! stuff 
preferably place in header row
control column width
|colspan=2| 1st colspan cell ||colspan=2| 2nd colspan cell
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 or category page
Linking to a category
[[:Category:XYZ]]
Control font size
<font size="+1">word</font>
Use only values of -2, +1 and higher
 
For starting a new article
Click me!
Leads to the template or structure for new articles
Comment
<!-- comment -->
x
Making a redirect to another page
#REDIRECT [[pagename]]
Must be on 1st line of page
x
Non-breaking space
&nbsp;
Inserted into any normal text
x
Ending part w. horiz. stacked tables
<br style="clear:left">
Presumably use "right" for right-stacked tables?
x
x
x
x
x
Thing Wikitext Notes Thing Wikitext Notes



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.

Personal tools