Difference between revisions of "User:Adrian breau"
Adrian breau (talk | contribs) (→Tables) |
Adrian breau (talk | contribs) (→Links) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
Opening a chapter for editing also allows you to edit each of it's subsets unti the next article with the same number of ='s | Opening a chapter for editing also allows you to edit each of it's subsets unti the next article with the same number of ='s | ||
− | + | Additionally, you must have a full space between lines to actually separate them | |
==Two Equals makes it a subset== | ==Two Equals makes it a subset== | ||
===Three makes it even smaller=== | ===Three makes it even smaller=== | ||
Line 22: | Line 22: | ||
<pre><nowiki><pre><nowiki>"text"< /nowiki>< /pre> (without the spaces)</nowiki></pre> | <pre><nowiki><pre><nowiki>"text"< /nowiki>< /pre> (without the spaces)</nowiki></pre> | ||
+ | |||
+ | Alright, onto tables. | ||
+ | |||
+ | ====A simple table==== | ||
+ | |||
+ | Coded: | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {| | ||
+ | |Top Left | ||
+ | |Top Center | ||
+ | |Top Right | ||
+ | |- | ||
+ | |Middle Left | ||
+ | |Middle Center | ||
+ | |Middle Right | ||
+ | |- | ||
+ | |Bottom Left | ||
+ | |Bottom Center | ||
+ | |Bottom Right | ||
+ | |} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | Applied: | ||
+ | |||
+ | {| | ||
+ | |Top Left | ||
+ | |Top Center | ||
+ | |Top Right | ||
+ | |- | ||
+ | |Middle Left | ||
+ | |Middle Center | ||
+ | |Middle Right | ||
+ | |- | ||
+ | |Bottom Left | ||
+ | |Bottom Center | ||
+ | |Bottom Right | ||
+ | |} | ||
+ | |||
+ | ====Adding a header==== | ||
+ | Coded: | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {| | ||
+ | |+ The plus adds a centered header <----- | ||
+ | |Top Left | ||
+ | |Top Center | ||
+ | |Top Right | ||
+ | |- | ||
+ | |Middle Left | ||
+ | |Middle Center | ||
+ | |Middle Right | ||
+ | |- | ||
+ | |Bottom Left | ||
+ | |Bottom Center | ||
+ | |Bottom Right | ||
+ | |} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | Applied: | ||
+ | |||
+ | {| | ||
+ | |+ The plus adds a centered header | ||
+ | |Top Left | ||
+ | |Top Center | ||
+ | |Top Right | ||
+ | |- | ||
+ | |Middle Left | ||
+ | |Middle Center | ||
+ | |Middle Right | ||
+ | |- | ||
+ | |Bottom Left | ||
+ | |Bottom Center | ||
+ | |Bottom Right | ||
+ | |} | ||
+ | |||
+ | ===Adding some flare=== | ||
+ | |||
+ | Alignment | ||
+ | |||
+ | Coded: | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {| | ||
+ | |10 | ||
+ | |20 | ||
+ | |30 | ||
+ | |centered | ||
+ | |-align="left" <------ | ||
+ | |4 | ||
+ | |5 | ||
+ | |6 | ||
+ | |left | ||
+ | |-align="right" <------ | ||
+ | |7 | ||
+ | |8 | ||
+ | |9 | ||
+ | |right | ||
+ | |} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | Applied: | ||
+ | |||
+ | {| | ||
+ | |10 | ||
+ | |20 | ||
+ | |30 | ||
+ | |centered | ||
+ | |-align="left" | ||
+ | |4 | ||
+ | |5 | ||
+ | |6 | ||
+ | |left | ||
+ | |-align="right" | ||
+ | |7 | ||
+ | |8 | ||
+ | |9 | ||
+ | |right | ||
+ | |} | ||
+ | |||
+ | Borders: | ||
+ | |||
+ | Coded: | ||
+ | <pre><nowiki> | ||
+ | {|class="wikitable" <------- | ||
+ | |1 | ||
+ | |2 | ||
+ | |3 | ||
+ | |- | ||
+ | |4 | ||
+ | |5 | ||
+ | |6 | ||
+ | |- | ||
+ | |7 | ||
+ | |8 | ||
+ | |9 | ||
+ | |} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | Applied: | ||
+ | |||
+ | {|class="wikitable" | ||
+ | |1 | ||
+ | |2 | ||
+ | |3 | ||
+ | |- | ||
+ | |4 | ||
+ | |5 | ||
+ | |6 | ||
+ | |- | ||
+ | |7 | ||
+ | |8 | ||
+ | |9 | ||
+ | |} | ||
+ | |||
+ | Colored Text: | ||
+ | |||
+ | Coded: | ||
+ | <pre><nowiki> | ||
+ | {|class="wikitable" style="color:red" <------- | ||
+ | |1 | ||
+ | |2 | ||
+ | |3 | ||
+ | |-style="color:blue" <-------- | ||
+ | |4 | ||
+ | |5 | ||
+ | |6 | ||
+ | |-style="color:green" <--------- | ||
+ | |7 | ||
+ | |8 | ||
+ | |9 | ||
+ | |} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | Applied: | ||
+ | {|class="wikitable" style="color:red" | ||
+ | |1 | ||
+ | |2 | ||
+ | |3 | ||
+ | |-style="color:blue" | ||
+ | |4 | ||
+ | |5 | ||
+ | |6 | ||
+ | |-style="color:green" | ||
+ | |7 | ||
+ | |8 | ||
+ | |9 | ||
+ | |} | ||
+ | |||
+ | Colored backgrounds: | ||
+ | |||
+ | Coded: | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {|class="wikitable" style="color:black" | ||
+ | |style="background-color:red"|Red | ||
+ | |style="background-color:blue"|Blue | ||
+ | |- | ||
+ | |style="background-color:green"|Green | ||
+ | |style="background-color:yellow"|Yellow | ||
+ | |} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | Applied: | ||
+ | {|class="wikitable" style="color:black" | ||
+ | |style="background-color:red"|Red | ||
+ | |style="background-color:blue"|Blue | ||
+ | |- | ||
+ | |style="background-color:green"|Green | ||
+ | |style="background-color:yellow"|Yellow | ||
+ | |} | ||
+ | |||
+ | ==Links== | ||
+ | Creating a link: | ||
+ | |||
+ | Coded: | ||
+ | |||
+ | <pre><nowiki>[[Wiki How To Guide]]</nowiki></pre> | ||
+ | |||
+ | Applied: | ||
+ | |||
+ | [[Wiki How To Guide]] | ||
+ | |||
+ | Changing the link's name: | ||
+ | |||
+ | Coded: | ||
+ | |||
+ | <pre><nowiki>[[Wiki How To Guide|Renamed Link]] Note that the actual linked page comes first</nowiki></pre> | ||
+ | |||
+ | Applied: | ||
+ | |||
+ | [[Wiki How To Guide|Renamed Link]] | ||
+ | |||
+ | External Links: | ||
+ | |||
+ | Coded: | ||
+ | |||
+ | <pre><nowiki>[https://www.mediawiki.org/wiki/Help:Tables]</nowiki></pre> | ||
+ | |||
+ | Applied: | ||
+ | |||
+ | [https://www.mediawiki.org/wiki/Help:Tables] | ||
+ | |||
+ | Since this does not give it a name, do the same as other links, without the | | ||
+ | |||
+ | [https://www.mediawiki.org/wiki/Help:Tables Wiki Wiki] |
Latest revision as of 16:12, 19 September 2013
I'm just messing around with the wiki formatting a bit, so feel free to ignore this
First Part
Wherein the wiki begins.
Opening a chapter for editing also allows you to edit each of it's subsets unti the next article with the same number of ='s
Additionally, you must have a full space between lines to actually separate them
Two Equals makes it a subset
Three makes it even smaller
And also removes the underscore
But what about four?
And then there's five
Which gives it it's own Table of Contents
Going back to one makes a new section
Which I will use to explain the rest of the wiki mechanics
Tables
Because tables are confusing as shit
Basic Construction
First off, to enter something in a box without actually performing that enter
<pre><nowiki>"text"< /nowiki>< /pre> (without the spaces)
Alright, onto tables.
A simple table
Coded:
{| |Top Left |Top Center |Top Right |- |Middle Left |Middle Center |Middle Right |- |Bottom Left |Bottom Center |Bottom Right |}
Applied:
Top Left | Top Center | Top Right |
Middle Left | Middle Center | Middle Right |
Bottom Left | Bottom Center | Bottom Right |
Adding a header
Coded:
{| |+ The plus adds a centered header <----- |Top Left |Top Center |Top Right |- |Middle Left |Middle Center |Middle Right |- |Bottom Left |Bottom Center |Bottom Right |}
Applied:
Top Left | Top Center | Top Right |
Middle Left | Middle Center | Middle Right |
Bottom Left | Bottom Center | Bottom Right |
Adding some flare
Alignment
Coded:
{| |10 |20 |30 |centered |-align="left" <------ |4 |5 |6 |left |-align="right" <------ |7 |8 |9 |right |}
Applied:
10 | 20 | 30 | centered |
4 | 5 | 6 | left |
7 | 8 | 9 | right |
Borders:
Coded:
{|class="wikitable" <------- |1 |2 |3 |- |4 |5 |6 |- |7 |8 |9 |}
Applied:
1 | 2 | 3 |
4 | 5 | 6 |
7 | 8 | 9 |
Colored Text:
Coded:
{|class="wikitable" style="color:red" <------- |1 |2 |3 |-style="color:blue" <-------- |4 |5 |6 |-style="color:green" <--------- |7 |8 |9 |}
Applied:
1 | 2 | 3 |
4 | 5 | 6 |
7 | 8 | 9 |
Colored backgrounds:
Coded:
{|class="wikitable" style="color:black" |style="background-color:red"|Red |style="background-color:blue"|Blue |- |style="background-color:green"|Green |style="background-color:yellow"|Yellow |}
Applied:
Red | Blue |
Green | Yellow |
Links
Creating a link:
Coded:
[[Wiki How To Guide]]
Applied:
Changing the link's name:
Coded:
[[Wiki How To Guide|Renamed Link]] Note that the actual linked page comes first
Applied:
External Links:
Coded:
[https://www.mediawiki.org/wiki/Help:Tables]
Applied:
Since this does not give it a name, do the same as other links, without the |