Vorlage:Back Button: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
 
(8 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
<html><a class="round" style="display: block; padding: 10px 20px; font-size: 16px; text-align: left; background-color: #F0EEB7;" </html>href="{{{2}}}"<html>></html>{{{1}}}<html></a></html>
+
<includeonly><div class="round" style="display: block; padding: 10px 20px; font-size: 16px; text-align: left; background-color: #F0EEB7;" ><span style="padding-right: 15px;" >[[Datei:Back-icon.png|link={{#if:trim-always|{{{wikipage}}}}}|alt={{#if:trim-always|{{{1}}}}}]]</span>[[{{#if:trim-always|{{{wikipage|{{{2}}}}}}}}|{{#if:trim-always|{{{1}}}}}]]</div>
 +
</includeonly><noinclude>Display a box with a back button
 +
== Usage ==
 +
 
 +
<nowiki>{{</nowiki>{{PAGENAME}}
 +
|Go back to the Campaign
 +
|Wind Turbine Campaign
 +
}}
 +
Which gives:
 +
 
 +
{{ {{PAGENAME}}
 +
|Go back to the Campaign
 +
|Wind Turbine Campaign
 +
}}
 +
== Parameters ==
 +
 
 +
<div class="definition-inline">
 +
; |1= : the display text
 +
; |2= |wikipage= : the link to the Wiki Page
 +
</div>
 +
</noinclude>

Aktuelle Version vom 28. Februar 2020, 18:34 Uhr

Display a box with a back button

Usage

{{Back Button
|Go back to the Campaign
|Wind Turbine Campaign
}}

Which gives:

Parameters

|1=
the display text
|2= |wikipage=
the link to the Wiki Page