Difference between revisions of "Writing an Article"

From Twilight Princess Wiki
Jump to navigation Jump to search
(Created page with "Contributing to this wiki is rather simple with the Visual Editor, however there's a few tricks that can only be used by editing the s...")
 
Line 14: 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>
<div class="room-id">[[D_MN06#05]]</div>
+
A)
<div class="room-no-id">[[D_MN06#05]]</div>
+
<div class="room-id">D_MN06#05</div>
 +
 
 +
B)
 +
<div class="room-no-id">D_MN06#05</div>
 
</syntaxhighlight>
 
</syntaxhighlight>
 
You Get:
 
You Get:
<div class="room-id">[[D_MN06#05]]</div>
+
A)
<div class="room-no-id">[[D_MN06#05]]</div>
+
<div class="room-id">D_MN06#05</div>
  
 +
B)
 +
<div class="room-no-id">D_MN06#05</div>
 +
<hr>
 
* Items:
 
* Items:
 
''WiP''
 
''WiP''

Revision as of 09:57, 17 September 2021

Contributing to this wiki is rather simple with the Visual Editor, however there's a few tricks that can only be used by editing the source directly.

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.

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