Difference between revisions of "Template:8193.14/doc"

From NWN Lexicon
Jump to: navigation, search
 
Line 3: Line 3:
 
=== Usage ===
 
=== Usage ===
  
This can be used to mark a function or script as from version 8193.14.
+
This can be used to mark a function, article or script as from version 8193.14.
  
 
Add it under the "Version" part of the page so it correctly lists the version.
 
Add it under the "Version" part of the page so it correctly lists the version.
 
When 8139.14 becomes stable the message box at the top can be removed.
 
  
 
=== Parameters ===
 
=== Parameters ===
  
In an article about a function, the default is fine:
+
In an article about a function, put in the "Version" section, the default is fine:
  
 
<pre>{{8193.14}}</pre>
 
<pre>{{8193.14}}</pre>
Line 17: Line 15:
 
This gives:
 
This gives:
  
 +
----
 
{{8193.14|nocat=true}}
 
{{8193.14|nocat=true}}
 +
----
 +
 +
However, in an article about a new tutorial, for instance, you can specify:
 +
 +
<pre>{{8193.14|article=tutorial}}</pre>
 +
 +
This produces:
 +
 +
----
 +
{{8193.14|article=tutorial|nocat=true}}
 +
----
  
However, in an article about a tutorial, for instance, you can specify:
+
Finally you might want to say "updated", you can specify:
  
<pre>{{feature|type=tutorial}}</pre>
+
<pre>{{8193.14|type=updated}}</pre>
  
 
This produces:
 
This produces:
  
{{8193.14|type=tutorial|nocat=true}}
+
----
 +
{{8193.14|type=updated|nocat=true}}
 +
----
 +
 
 +
Finally combining them into:
 +
 
 +
<pre>{{8193.14|type=updated|article=tutorial}}</pre>
 +
 
 +
Produces:
 +
 
 +
----
 +
{{8193.14|type=updated|article=tutorial|nocat=true}}
 +
----
  
 
=== See Also ===
 
=== See Also ===

Latest revision as of 14:38, 9 August 2020

Usage

This can be used to mark a function, article or script as from version 8193.14.

Add it under the "Version" part of the page so it correctly lists the version.

Parameters

In an article about a function, put in the "Version" section, the default is fine:

{{8193.14}}

This gives:


This function was added in 1.80.8193.14 of NWN:EE.


However, in an article about a new tutorial, for instance, you can specify:

{{8193.14|article=tutorial}}

This produces:


This tutorial was added in 1.80.8193.14 of NWN:EE.


Finally you might want to say "updated", you can specify:

{{8193.14|type=updated}}

This produces:


This function was updated in 1.80.8193.14 of NWN:EE.


Finally combining them into:

{{8193.14|type=updated|article=tutorial}}

Produces:


This tutorial was updated in 1.80.8193.14 of NWN:EE.


See Also