Creating Headlines, Bold and Italic Text: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(re-org)
(typos)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
== Creating a Headline ==
== Creating a Headline ==
To create a fancy headline like the one right above this line, just put the "=" sign before and after the title, like this:
To create a fancy headline like the one right above this line, just put the "=" sign before and after the title, like this:
  <nowiki>= This is a Top-Level Headline =</nowiki>
  <nowiki>== This is a Top-Level Headline ==</nowiki>


There exist several levels of headlines:
There exist several levels of headlines:
  <nowiki>= This is a Top-Level Headline =</nowiki>
  <nowiki>== This is a Top-Level Headline ==</nowiki>
  <nowiki>== This is a Second-Level Headline ==</nowiki>
  <nowiki>=== This is a Second-Level Headline ===</nowiki>
  <nowiki>=== This is a Third-Level Headline ===</nowiki>
  <nowiki>==== This is a Third-Level Headline ====</nowiki>
Those three should be sufficient for any Wiki page.
Those three should be sufficient for any Wiki page.
And remember to always start with <nowiki>==</nowiki>, so the first level you are using has two equal sign.


== Bold and Italic Texts ==
== Bold and Italic Texts ==
Line 18: Line 20:
  <nowiki>'''Bold text'''</nowiki>
  <nowiki>'''Bold text'''</nowiki>
  <nowiki>''Italic text''</nowiki>
  <nowiki>''Italic text''</nowiki>
== Colored texts ==
Please do not use many different colors, and if you must use colored text, use one of the provided templates:
* '''<nowiki>{{red|Your red text goes here}}</nowiki>''' => {{red|Your red text goes here}}
* '''<nowiki>{{green|Your green text goes here}}</nowiki>''' => {{green|Your green text goes here}}
* '''<nowiki>{{blue|Your blue text goes here}}</nowiki>''' => {{blue|Your blue text goes here}}
== Infoboxes ==
'''<nowiki>{{infobox|This is an info box}}</nowiki>''' will be shown like this:
{{infobox|This is an info box}}
You can recolor the background, and use wiki-markup inside the text:
'''<nowiki>{{infobox|bg=#a0ffa0|text=This is an info box}}</nowiki>''' will be shown like this:
{{infobox|bg=#a0ffa0|text=This is a '''green''' info box.}}
More information can be found on the [[Template:Infobox|page of the template]] itself.


{{tutorial-wiki|sort=Headlines}}
{{tutorial-wiki|sort=Headlines}}

Latest revision as of 12:33, 23 March 2012

The Wiki language is pretty simple, I will show you some examples of the most important formatting features this Wiki provides.

Creating a Headline

To create a fancy headline like the one right above this line, just put the "=" sign before and after the title, like this:

== This is a Top-Level Headline ==

There exist several levels of headlines:

== This is a Top-Level Headline ==
=== This is a Second-Level Headline ===
==== This is a Third-Level Headline ====

Those three should be sufficient for any Wiki page.

And remember to always start with ==, so the first level you are using has two equal sign.

Bold and Italic Texts

Just highlight any text in the editor and click on the according icons right above the editor text field:

  • button_bold.png for Bold text
  • button_italic.png for Italic text

As you will see, the highlighted text will be surrounded by single quotation marks. Two for italic text, three for bold text.

'''Bold text'''
''Italic text''

Colored texts

Please do not use many different colors, and if you must use colored text, use one of the provided templates:

  • {{red|Your red text goes here}} => Your red text goes here
  • {{green|Your green text goes here}} => Your green text goes here
  • {{blue|Your blue text goes here}} => Your blue text goes here


Infoboxes

{{infobox|This is an info box}} will be shown like this:

This is an info box


You can recolor the background, and use wiki-markup inside the text:

{{infobox|bg=#a0ffa0|text=This is an info box}} will be shown like this:

This is a green info box.

More information can be found on the page of the template itself.