Difference between revisions of "Template:VH link/doc"

From Hgames Wiki
Jump to: navigation, search
(Initial creation of template documentation)
 
(Make documentation clearer)
 
Line 1: Line 1:
This template is used to reduce the amount of typing when creating a wiki link in an article for the [[VH|Violated Heroine (VH)]] game.
+
The '''VH link''' template is a simple [[Wikipedia:Macro|macro]] [[Wikipedia:Help:Template|template]] used to reduce the amount of typing when creating a wiki link in an article for the [[VH|Violated Heroine (VH)]] game.
  
 
== Examples ==
 
== Examples ==
 
A short example of its use is:
 
A short example of its use is:
  
::<code><nowiki>{{VHl|Hot Springs Town}}</nowiki></code>
+
::<code><nowiki>{{VHl|Hot Springs Town}}</nowiki></code> or
 +
::<code><nowiki>{{vhl|Hot Springs Town}}</nowiki></code>
 
:which generates the wiki link
 
:which generates the wiki link
 
::<code><nowiki>[[VH/Hot Springs Town|Hot Springs Town]]</nowiki></code>
 
::<code><nowiki>[[VH/Hot Springs Town|Hot Springs Town]]</nowiki></code>

Latest revision as of 19:58, 12 October 2024

The VH link template is a simple macro template used to reduce the amount of typing when creating a wiki link in an article for the Violated Heroine (VH) game.

Examples

A short example of its use is:

{{VHl|Hot Springs Town}} or
{{vhl|Hot Springs Town}}
which generates the wiki link
[[VH/Hot Springs Town|Hot Springs Town]]

Parameters

Parameter Description Status
1 Positional parameter: the name of the VH subpage Required
display By default, the text that gets displayed in the wiki link will be the same as the name of the subpage. If you want to override what gets displayed, use this parameter. Optional

See also