StrategyWiki:Guide/Wiki markup: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
header -> heading
(basbozelsitb)
(header -> heading)
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
bocouv
{{Header Nav|game=StrategyWiki:Guide}}
{{Header Nav|game=StrategyWiki:Guide}}


Line 7: Line 6:


{|{{prettytable}}
{|{{prettytable}}
!Description
!width="300px"|Description
!You type…
!You type…
!You get…
!You get…
|-
|-
! colspan="3" align="center" | ''Applies anywhere''
! colspan="3" align="center" | ''Applies anywhere''
Line 36: Line 35:
<tt><nowiki>===Level 2===</nowiki></tt><br />
<tt><nowiki>===Level 2===</nowiki></tt><br />
<tt><nowiki>====Level 3====</nowiki></tt><br />
<tt><nowiki>====Level 3====</nowiki></tt><br />
<tt><nowiki>=====Level 4=====</nowiki></tt>
<tt><nowiki>=====Level 4=====</nowiki></tt><br />
 
'''Notes''':
*Never use <nowiki>=Level 0=</nowiki> because the page's title, e.g. StrategyWiki:Guide/Wiki markup on this page, is considered Level 0 and encompasses the whole page.
*Do not use wiki formatting within a heading (e.g. bold or italics), except for images and links (e.g. <nowiki>[[File:FILENAME.png]] or [[Game title or page|Heading text]]</nowiki>).
*All headings should use the highest level possible. That is, if it isn't a sub-section/header, then it should be <nowiki>== Level 1==</nowiki>. This removes arbitrarily assigning heading levels, and makes all headings use the largest font.
*If you are putting a heading underneath another one, it should be logical. For example, if the page is for a world, then a sub section would be a continent. The world would be Level 0 (single =), and the levels would be level 1 (double ==).
|
|
==Level 1==
==Level 1==
Line 76: Line 81:
## three point one
## three point one
## three point two
## three point two
|-
|Numbered list starting from any number (must use HTML or a combination of HTML and Wiki Markup; # begins a new order list so it can only be used for sub-lists)
|
<nowiki><ol start="50"></nowiki><br />
<nowiki><li>fifty</li></nowiki><br />
<nowiki><li>fifty one</li></nowiki><br />
<nowiki><li>fifty two</li></nowiki><br />
&#35;fifty two point one<br />
&#35;fifty two point two<br />
<nowiki></ol></nowiki>
|
<ol start="50">
<li>fifty</li>
<li>fifty one</li>
<li>fifty two</li>
#fifty two point one
#fifty two point two
</ol>
|-
|-
| Mixture of bulleted<br /> and numbered lists
| Mixture of bulleted<br /> and numbered lists
Line 125: Line 148:
To force a table of contents, or to change the position of the table of contents, use <nowiki>__TOC__</nowiki> at the top of your page. To never show a table of contents, use <nowiki>__NOTOC__</nowiki>.
To force a table of contents, or to change the position of the table of contents, use <nowiki>__TOC__</nowiki> at the top of your page. To never show a table of contents, use <nowiki>__NOTOC__</nowiki>.


Note that this is not the same as a guide's /Table of Contents subpage. For information on creating and modifying those see [[StrategyWiki:Guide/Organization#Table of Contents|Organizing the pages]].
Note that this is not the same as a guide's /Table of Contents subpage. For information on creating and modifying those see [[StrategyWiki:Guide/Table of contents|Table of contents]].


== Section Editing ==
== Section Editing ==
If your preferences enable it, edit by section links will appear on pages containing headings. You can force these not to display regardless of preferences by putting <nowiki>__NOEDITSECTION__</nowiki> on the top of the page.
If your preferences enable it, edit by section links will appear on pages containing headings. You can force these not to display regardless of preferences by putting <nowiki>__NOEDITSECTION__</nowiki> on the top of the page.


== More advanced formatting ==
{{Footer Nav|game=StrategyWiki:Guide|prevpage=Discussing issues|nextpage=Links}}
Beyond the basic text formatting markup shown above, there are some more advanced formatting tricks:
*[[StrategyWiki:Guide/Links|Links]]
*[[StrategyWiki:Guide/Images|Images]]
*[[StrategyWiki:Guide/Tables|Tables]]
 
{{Footer_Nav|game=StrategyWiki:Guide|prevpage=Preferences|nextpage=Links}}