PK ref

From Sagataflwiki

(Difference between revisions)
Jump to: navigation, search
(explaining table structure better)
(Trying rowspan)
Line 22: Line 22:
| Comment || <pre><!-- comment --></pre> ||  ||  ||  ||  ||  || <pre>x</pre> ||  
| Comment || <pre><!-- comment --></pre> ||  ||  ||  ||  ||  || <pre>x</pre> ||  
|-
|-
-
| || <pre>x</pre> || || ||  ||  ||  || <pre>x</pre> ||  
+
| colspan in table |rowspan=7| <pre>|colspan=2| 1st colspan column ||colspan=2| 2nd colspan column</pre> || use rowspan in the same way.
|-
|-
|  || <pre>x</pre> ||  ||  ||  ||  ||  || <pre>x</pre> ||  
|  || <pre>x</pre> ||  ||  ||  ||  ||  || <pre>x</pre> ||  

Revision as of 22:07, 20 May 2011

For starting new articles: Article in wikitext

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
&nbsp;
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 margin on top, bottom, right and left.
Adding invisibly to a category
[[Category:XYZ| ]]
Article does not show up on category page
Comment
<!-- comment -->
x
rowspan=7|
|colspan=2| 1st colspan column ||colspan=2| 2nd colspan column
use rowspan in the same way.
x
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.

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