Wikitext table reference I

From Sagataflwiki

(Difference between revisions)
Jump to: navigation, search
(See also: Adding some links that might be worthwhile)
 
(15 intermediate revisions not shown)
Line 3: Line 3:
=== Table 3 col./3 rows, top row bold ===
=== Table 3 col./3 rows, top row bold ===
<pre>
<pre>
-
{|
+
{|style="margin: 1px 1px 1px 1px;"
! A !! B !! C
! A !! B !! C
|-
|-
Line 12: Line 12:
</pre>
</pre>
And the result that it produces below:
And the result that it produces below:
-
{|
+
{|style="margin: 1px 1px 1px 1px;"
! Item !! B !! C
! Item !! B !! C
|-
|-
Line 20: Line 20:
|}
|}
== Intermediate complexity tables ==
== Intermediate complexity tables ==
-
No content so far.
+
=== Horiz. stacked 2-col. table for DP/PP cost ===
-
=== Horiz. stacked 2-col. table for AP/PP cost ===
+
<pre>
<pre>
-
 
+
{| style="margin: 3px 3px 4px 4px;" align="left"
-
{| align="left"
+
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 43: Line 41:
|}
|}
</pre>
</pre>
-
Just repeat the above wikitext many times with no text in between (a single blank line in between does no harm, and may be necessary, but do not have multiple blank lines, and ''make sure'' to put a <nowiki><br></nowiki> at the end).
+
Just repeat the above wikitext many times with no text in between (a single blank line in between does no harm, and may be necessary, but do not have multiple blank lines, and ''make sure'' to put a <nowiki><br style="clear:left"></nowiki> at the end).
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 63: Line 61:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 81: Line 79:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 99: Line 97:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 117: Line 115:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 135: Line 133:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 153: Line 151:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 171: Line 169:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 189: Line 187:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 207: Line 205:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 225: Line 223:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 243: Line 241:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 261: Line 259:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 279: Line 277:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 297: Line 295:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 315: Line 313:
|}
|}
-
{| align="left"
+
{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
! Stuff !! DP
|-
|-
Line 332: Line 330:
| 3 || 4  
| 3 || 4  
|}
|}
-
<br><br>
 
-
<p>
 
-
<br />
 
-
Okay, there seems to be rather a problem at the end here, stuff melting together with the next section, in spite of various attempts to force a linebreak.
 
-
<br>
 
-
<p>
 
-
<br />
 
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}
 +
 +
{| style="margin: 3px 3px 4px 4px;" align="left"
 +
! Stuff !! DP
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|-
 +
| 5 || 6
 +
|-
 +
| 7 || 8
 +
|-
 +
| 9 || 0
 +
|-
 +
| 1 || 2
 +
|-
 +
| 3 || 4
 +
|}<br style="clear:left">
 +
''Remember'', you must insert this after the last table, to force the break:
 +
<pre>
 +
<br style="clear:left">
 +
</pre>
-
== Special purpose tables ==
+
== Very special purpose tables ==
=== Magic item writeup table ===
=== Magic item writeup table ===
This is a copy-able wikitext example of a table for writing up magic items.
This is a copy-able wikitext example of a table for writing up magic items.
Line 386: Line 739:
== See also ==
== See also ==
-
[[Wikitext reference I]]
+
[[Wikitext reference I]]<br>
-
http://www.mediawiki.org/wiki/Help:Links
+
http://www.mediawiki.org/wiki/Help:Tables
 +
<br><br>
 +
Some stuff that might not deal only with tables:
 +
<br> http://en.wikibooks.org/wiki/Editing_Wikitext/Tables
 +
<br> http://en.wikipedia.org/wiki/Help:Wiki_markup
 +
<br> http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Wikify
 +
<br> http://en.wikipedia.org/wiki/Wikitext
 +
<br> The 4 links above needs to be looked through, and any further links from those followed, in order to enhance the references for ''this'' wiki. (Do keep in mind that Wikipedia has some functionality that MediaWiki does not have!)
-
[[Category:Editor stuff|Categories]]
+
[[Category:wikitext]]

Latest revision as of 23:07, 20 May 2011

This is a quick refence guide only for tables in wikitext.

Contents

Simple tables

Table 3 col./3 rows, top row bold

{|style="margin: 1px 1px 1px 1px;"
! A !! B !! C
|-
| 1 || 2 || 3
|-
| 4 || 5 || 6
|}

And the result that it produces below:

Item B C
1 2 3
4 5 6

Intermediate complexity tables

Horiz. stacked 2-col. table for DP/PP cost

{| style="margin: 3px 3px 4px 4px;" align="left"
! Stuff !! DP
|-
| 1 || 2
|-
| 3 || 4
|-
| 5 || 6
|-
| 7 || 8 
|-
| 9 || 0 
|-
| 1 || 2 
|-
| 3 || 4 
|}

Just repeat the above wikitext many times with no text in between (a single blank line in between does no harm, and may be necessary, but do not have multiple blank lines, and make sure to put a <br style="clear:left"> at the end).

Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4
Stuff DP
1 2
3 4
5 6
7 8
9 0
1 2
3 4

Remember, you must insert this after the last table, to force the break:

<br style="clear:left">

Very special purpose tables

Magic item writeup table

This is a copy-able wikitext example of a table for writing up magic items.

{|class="mit"
! L !! Enchantment !! ES !! Notes and commentary
|-
| 1 || Open || 0.1 || Prepares the item so that it can be Endowed
|-
| ? || ? || ? || ?
|-
| ? || Invested Item Ability<br>Name I || ?.? || ?th level Item Ability Name I
Item does something
:1 IL: The Ability is Invested in item (base stats: AL:? A:3d12 AT:1R (FT:1R) C:?/Week  D:?  R:Item)
:0 IL: The Ability can be cast on the item itself
Total '''1''' Investment Level<br>
'''Name I''' ('''AL''':?) '''IL''':? '''AR''': 3d12, '''AT''':1 Round ('''FT''':1 Minute) '''C''':?/Moon, '''D''':?
|-
| 1 || Close || 0.1 || Finalizes item so that it can be used
|-
| '''1''' || Highest Enchant-<br>ment level|| '''??.?''' || Total Essence cost
|}

The above gives this result:

L Enchantment ES Notes and commentary
1 Open 0.1 Prepares the item so that it can be Endowed
 ?  ?  ?  ?
 ? Invested Item Ability
Name I
 ?.?  ?th level Item Ability Name I

Item does something

1 IL: The Ability is Invested in item (base stats: AL:? A:3d12 AT:1R (FT:1R) C:?/Week D:? R:Item)
0 IL: The Ability can be cast on the item itself

Total 1 Investment Level
Name I (AL:?) IL:? AR: 3d12, AT:1 Round (FT:1 Minute) C:?/Moon, D:?

1 Close 0.1 Finalizes item so that it can be used
1 Highest Enchant-
ment level
??.? Total Essence cost

See also

Wikitext reference I
http://www.mediawiki.org/wiki/Help:Tables

Some stuff that might not deal only with tables:
http://en.wikibooks.org/wiki/Editing_Wikitext/Tables
http://en.wikipedia.org/wiki/Help:Wiki_markup
http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Wikify
http://en.wikipedia.org/wiki/Wikitext
The 4 links above needs to be looked through, and any further links from those followed, in order to enhance the references for this wiki. (Do keep in mind that Wikipedia has some functionality that MediaWiki does not have!)

Personal tools