Difference between revisions of "Template:Match vers"

From PC-BSD Wiki
Jump to: navigation, search
 
(15 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
 
{{#switch: {{{1}}}
 
{{#switch: {{{1}}}
|intro  = {{#ifeq: {{getVers}}|{{upcoming}}|{{:Handbook_intro_upc}}|{{:Handbook_intro_rel}}}}
+
|intro  = {{#ifeq: {{getVers}}|{{upcoming}}|{{:Handbook_intro_upc{{putLang}}}}|{{:Handbook_intro_rel{{putLang}}}}}}
|title  = {{#ifeq: {{getVers}}|{{upcoming}}|{{:Handbook_title_upc}}|{{:Handbook_title_rel}}}}
+
|title  = {{#ifeq: {{getVers}}|{{upcoming}}|{{:Handbook_title_upc{{putLang}}}}|{{:Handbook_title_rel{{putLang}}}}}}
 
}}
 
}}
 
</onlyinclude><noinclude>
 
</onlyinclude><noinclude>
 
==Description==
 
==Description==
{{note|class=rightfloat|width=35%|icon64=Translators should localize the following pages used:   
+
{{note|class=rightfloat|width=35%|icon48=Translators should localize the following pages used:   
:::* [[Handbook_intro_upc]],  
+
:* {{translate-me-link|Handbook intro upc}},  
:::* [[Handbook_intro_rel]],  
+
:* {{translate-me-link|Handbook intro rel}},  
:::* [[Handbook_title_upc]], and  
+
:* {{translate-me-link|Handbook title upc}}, and  
:::* [[Handbook_title_rel]]. }}
+
:* {{translate-me-link|Handbook title rel}}. }}
 
This will assist with frequent transition between versions for minor adjustments to the “PC-BSD® Users Handbook” page automatically. The upcoming version text is used only when the page URL matches the {{upcoming}} version, otherwise the release text is used. Two phrases are chosen by either 'intro' or 'title' as shown below:
 
This will assist with frequent transition between versions for minor adjustments to the “PC-BSD® Users Handbook” page automatically. The upcoming version text is used only when the page URL matches the {{upcoming}} version, otherwise the release text is used. Two phrases are chosen by either 'intro' or 'title' as shown below:
 +
 
==Usage==
 
==Usage==
 +
 
===intro===
 
===intro===
 
{{b|<nowiki>{{match vers|intro}}</nowiki>}}
 
{{b|<nowiki>{{match vers|intro}}</nowiki>}}
====[[Handbook_intro_upc|upcoming]]====
+
 
{{:Handbook_intro_upc}}
+
;[[Handbook_intro_upc|upcoming]] phrase
====[[Handbook_intro_rel|release]]====
+
:{{q|{{:Handbook_intro_upc}}}}
{{:Handbook_intro_rel}}
+
 
 +
;[[Handbook_intro_rel|release]] phrase
 +
:{{q|{{:Handbook_intro_rel}}}}
 +
 
 
===title===
 
===title===
 
{{b|<nowiki>{{match vers|title}}</nowiki>}}
 
{{b|<nowiki>{{match vers|title}}</nowiki>}}
====[[Handbook_title_upc|upcoming]]====
+
 
{{:Handbook_title_upc}}
+
;[[Handbook_title_upc|upcoming]] phrase
====[[Handbook_title_rel|release]]====
+
:{{q|{{:Handbook_title_upc}}}}
{{:Handbook_title_rel}}
+
 
 +
;[[Handbook_title_rel|release]] phrase
 +
:{{q|{{:Handbook_title_rel}}}}
 +
 
 
[[category:templates]]</noinclude>
 
[[category:templates]]</noinclude>

Latest revision as of 23:12, 2 February 2014


Contents

[edit] Description

NOTE: Translators should localize the following pages used:

This will assist with frequent transition between versions for minor adjustments to the “PC-BSD® Users Handbook” page automatically. The upcoming version text is used only when the page URL matches the 10.1 version, otherwise the release text is used. Two phrases are chosen by either 'intro' or 'title' as shown below:

[edit] Usage

[edit] intro

{{match vers|intro}}

upcoming phrase
This is the wiki area for the collaborative editing of the upcoming edition (rolling releases up to the next release, version 10.1) of the PC‑BSD® Users Handbook. If you are using STABLE or would like to assist in documenting the next release, refer to this wiki version of the Handbook. Otherwise, refer to the 10.0 PC‑BSD® Users Handbook, or the revision of the PC‑BSD® Users Handbook that matches your RELEASE version of PC‑BSD®.
release phrase
This is the wiki area for the collaborative translation of the PC‑BSD® Users Handbook. If you are using a rolling release or would like to assist in documenting the next release, refer to the PC-BSD® Documentation page. Otherwise, refer to the version of the PC‑BSD® Users Handbook that matches your version of PC‑BSD®.

[edit] title

{{match vers|title}}

upcoming phrase
Work in Progress: PC-BSD® Users Handbook (Rolling Release)
release phrase
PC-BSD® Users Handbook (Published Release )