Difference between revisions of "Template:ActionItem"

From BITPlan Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
{{ActionItem|target=Trainingsanmeldung|title=Hier gehts zur Lernplattform}}
 
{{ActionItem|target=Trainingsanmeldung|title=Hier gehts zur Lernplattform}}
 
</pre>
 
</pre>
 +
The Language code for this page is [[Language code::de]]
 
{{ActionItem|target=Trainingsanmeldung|title=Hier gehts zur Lernplattform}}
 
{{ActionItem|target=Trainingsanmeldung|title=Hier gehts zur Lernplattform}}
 
[[Category:Template]]
 
[[Category:Template]]
 
* {{Link|target=Property:actionitem target}}
 
* {{Link|target=Property:actionitem target}}
 
* {{Link|target=Property:actionitem title}}
 
* {{Link|target=Property:actionitem title}}
</noinclude><includeonly>{{#set:
+
</noinclude><includeonly>{{#vardefine: languageCode|{{#show:{{FULLPAGENAME}}|?Language code}}}}
|actionitem target={{{target|Trainingsanmeldung}}}
+
{{#set:
 +
|actionitem target={{{target|{{{target|Trainingsanmeldung}}}}}}
 
|actionitem title={{{title|{{{target|Trainingsanmeldung}}}}}}
 
|actionitem title={{{title|{{{target|Trainingsanmeldung}}}}}}
}}{{#show:{{FULLPAGENAME}}|?Language code}}{{#switch:{{#show:{{FULLPAGENAME}}|?Language code}}|de=[[File:Anmeldebutton.png|200px|link={{{target|Trainingsanmeldung}}}|{{{pos|right}}}|{{{title|{{{target|Trainingsanmeldung}}}}}}]]|en=[[File:SignUpHere.png|200px|{{{pos|right}}}]]}}</includeonly>
+
}}{{#switch:{{#var:languageCode}}|en=[[File:SignUpHere.png|200px|{{{pos|right}}}|link={{{target|Trainingssignup}}}|{{{title|{{{target|Trainingsignup}}}}}}]]|[[File:Anmeldebutton.png|200px|link={{{target|Trainingsanmeldung}}}|{{{pos|right}}}|{{{title|{{{target|Trainingsanmeldung}}}}}}]]}}</includeonly>

Latest revision as of 18:10, 9 November 2017

This is the Actionitem template

Example

{{ActionItem|target=Trainingsanmeldung|title=Hier gehts zur Lernplattform}}

The Language code for this page is de

Hier gehts zur Lernplattform