Difference between revisions of "Template:TYNavigator"

From Lazarus wiki
Jump to navigationJump to search
(Undo revision 149799 by Kai Burghardt (talk) UNDO WRONG CHANGES)
Tag: Undo
Tag: Undo
 
Line 12: Line 12:
 
This inserts 3 links:
 
This inserts 3 links:
  
* ''PrevPage''/nn
+
* Basic Pascal Tutorial/''PrevPage''/nn
* Contents/nn
+
* Basic Pascal Tutorial/Contents/nn
* ''NextPage''/nn
+
* Basic Pascal Tutorial/''NextPage''/nn
  
 
where '''/nn''' is a language suffix of page in which used template.
 
where '''/nn''' is a language suffix of page in which used template.
Line 23: Line 23:
  
 
[[Category:Navigation Templates]]
 
[[Category:Navigation Templates]]
</noinclude><includeonly>{| class="wikitable"
+
</noinclude>{| class="wikitable"
 
|-
 
|-
| {{#if:{{{1|}}}|[[{{NameWithoutLngSuffix|{{{1}}}}}{{LngSuffixWithSlash}}|&nbsp;◄&nbsp;]]|<font color="Silver">&nbsp;◄&nbsp;</font>}} || [[Contents{{LngSuffixWithSlash}}|&nbsp;▲&nbsp;]] || {{#if:{{{2|}}}|[[{{NameWithoutLngSuffix|{{{2}}}}}{{LngSuffixWithSlash}}|&nbsp;►&nbsp;]]|<font color="Silver">&nbsp;►&nbsp;</font>}}
+
| {{#if:{{{1|}}}|[[Basic Pascal Tutorial/{{NameWithoutLngSuffix|{{{1}}}}}{{LngSuffixWithSlash}}|&nbsp;◄&nbsp;]]|<font color="Silver">&nbsp;◄&nbsp;</font>}} || [[Basic Pascal Tutorial/Contents{{LngSuffixWithSlash}}|&nbsp;▲&nbsp;]] || {{#if:{{{2|}}}|[[Basic Pascal Tutorial/{{NameWithoutLngSuffix|{{{2}}}}}{{LngSuffixWithSlash}}|&nbsp;►&nbsp;]]|<font color="Silver">&nbsp;►&nbsp;</font>}}
|}</includeonly>
+
|}

Latest revision as of 02:17, 6 August 2022

Navigator for Basic Pascal Tutorial (Tao Yue)

Purpose

This template is designed for adding navigation panel to pages related with Basic Pascal Tutorial (Tao Yue).

Usage

{{TYNavigator|PrevPage|NextPage}}

This inserts 3 links:

  • Basic Pascal Tutorial/PrevPage/nn
  • Basic Pascal Tutorial/Contents/nn
  • Basic Pascal Tutorial/NextPage/nn

where /nn is a language suffix of page in which used template.


Both parameters may to have any suffix or not to have - in any case for links will used suffix of current page.
For first and last pages one parameter may be left empty.

 ◄   ▲   ►