Difference between revisions of "Writing an Article"

From Twilight Princess Wiki
Jump to navigation Jump to search
Line 1: Line 1:
Contributing to this wiki is rather simple with the [[mediawikiwiki:Extension:VisualEditor|Visual Editor]], however there's a few tricks that can only be used by editing the source directly.
+
Contributing to this wiki is rather simple with the [[mediawikiwiki:Extension:VisualEditor|Visual Editor]], however there's a few tricks that you can and should use.
  
== Automatic Values ==
+
==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.
+
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):
 
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 16:
 
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>
 
<hr>
* Rooms:
+
 
 +
*Rooms:
 +
 
 
You Type:
 
You Type:
 
<syntaxhighlight>
 
<syntaxhighlight>
Line 31: Line 34:
 
<div class="room-no-id">D_MN06#05</div>
 
<div class="room-no-id">D_MN06#05</div>
 
<hr>
 
<hr>
* Items:
+
 
 +
*Items:
 +
 
 
''WiP''
 
''WiP''

Revision as of 10:00, 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