Difference between revisions of "Template:Man version"

From Gramps
m (add a link to Rollover for the manual page)
m (clean up template usage info)
Line 1: Line 1:
 
5.1<noinclude>
 
5.1<noinclude>
 +
 +
''two digit Gramps version number, including fullstop''
 
==Usage==
 
==Usage==
To provide the current Gramps version release number for any page that has inter-wiki [[Help:Links|links]] {{man menu|and is not within the indexed chapters of the user manual. }} This simplifies [[Rollover for the manual|rollover of the wiki to a new version of Gramps]].
+
<code><nowiki>{{man version}}</nowiki></code>
 +
<br />Note: replaces the ''deprecated'' <code><nowiki>{{Version manual}}</nowiki></code>
  
<code><nowiki>{{man version}}</nowiki></code>  or the ''deprecated'' <code><nowiki>{{Version manual}}</nowiki></code><br />  
+
'''Example:'''<br />
 
<code><nowiki>[[Gramps_{{man version}}_Wiki_Manual_-_Navigation#Setting_the_Active_Person|navigating the Active Person]]</nowiki></code>
 
<code><nowiki>[[Gramps_{{man version}}_Wiki_Manual_-_Navigation#Setting_the_Active_Person|navigating the Active Person]]</nowiki></code>
 +
:is rendered as <code><nowiki>[[Gramps_</nowiki>{{man version}}<nowiki>_Wiki_Manual_-_Navigation#Setting_the_Active_Person|navigating the Active Person]]</nowiki></code>
 +
==Purpose==
 +
To provide the current Gramps version release number for any page that has inter-wiki [[Help:Links|links]] {{man menu|and is not within the indexed chapters of the user manual. }} This simplifies [[Rollover for the manual|rollover of the wiki to a new version of Gramps]].
  
Reduces the need to update the pages individually, assuming the rest of the user manual title remains the same.
+
Reduces the need to update the pages (and multilingual pages) individually, assuming the rest of the user manual title remains the same.
  
'''Works only for normal inter wiki links and not REDIRECTS'''
+
'''Works only when embedded in normal intra wiki links and not REDIRECTS'''
  
 
===See also ===
 
===See also ===

Revision as of 18:42, 24 July 2023

5.1

two digit Gramps version number, including fullstop

Usage

{{man version}}
Note: replaces the deprecated {{Version manual}}

Example:
[[Gramps_{{man version}}_Wiki_Manual_-_Navigation#Setting_the_Active_Person|navigating the Active Person]]

is rendered as [[Gramps_6.0_Wiki_Manual_-_Navigation#Setting_the_Active_Person|navigating the Active Person]]

Purpose

To provide the current Gramps version release number for any page that has inter-wiki links and is not within the indexed chapters of the user manual. This simplifies rollover of the wiki to a new version of Gramps.

Reduces the need to update the pages (and multilingual pages) individually, assuming the rest of the user manual title remains the same.

Works only when embedded in normal intra wiki links and not REDIRECTS

See also