Difference between revisions of "Writing an Article"

From Twilight Princess Wiki
Jump to navigation Jump to search
m
m
 
Line 6: Line 6:
 
Please use the following html classes in order to insert the desired value(s):
 
Please use the following html classes in order to insert the desired value(s):
  
*Stages:
+
=== Stages: ===
 
 
 
You Type:
 
You Type:
 
<syntaxhighlight>
 
<syntaxhighlight>
Line 15: Line 14:
 
<div class="stage-id">[[F_SP108]]</div>
 
<div class="stage-id">[[F_SP108]]</div>
 
Note that the stage-id '''has''' to be in [[]] in order to make it a link which is '''required''' by the script.
 
Note that the stage-id '''has''' to be in [[]] in order to make it a link which is '''required''' by the script.
<hr>
 
 
*Rooms:
 
  
 +
=== Rooms: ===
 
You Type:
 
You Type:
 
<syntaxhighlight>
 
<syntaxhighlight>
Line 34: Line 31:
 
B)
 
B)
 
<div class="room-no-id">D_MN06#05</div>
 
<div class="room-no-id">D_MN06#05</div>
<hr>
 
 
*Items:
 
  
 +
=== Items: ===
 
''WiP''
 
''WiP''

Latest revision as of 10:01, 17 September 2021

Contributing to this wiki is rather simple with the Visual Editor, however there's a few tricks that you can and should use.

Automatic Values

For commonly used values like Stages, Rooms, items, etc. there shouldn't be any redundant typing in case we ever want to relabel one of the names. Currently these are only available by editing the source directly but there's plans to access them through templates aswell.

Please use the following html classes in order to insert the desired value(s):

Stages:

You Type:

<div class="stage-id">[[F_SP108]]</div>

You Get:

Note that the stage-id has to be in [[]] in order to make it a link which is required by the script.

Rooms:

You Type:

A)
<div class="room-id">D_MN06#05</div>

B)
<div class="room-no-id">D_MN06#05</div>

You Get:

A)

D_MN06#05

B)

D_MN06#05

Items:

WiP