Vorlage:Button: Unterschied zwischen den Versionen

Aus DIQA-Homepage
Wechseln zu:Navigation, Suche
(Added to the wiki via WikiImport-Script.)
(Added to the wiki via WikiImport-Script.)
 
Zeile 1: Zeile 1:
 
<noinclude>
 
<noinclude>
 
url mit param:
 
url mit param:
{{Button|fontsize=small|color=#FF4242|link={{localurl:Semantic_Search_Webparts|expandsection=Lizenz anfordern für Semantic Search Webparts für SharePoint Onpremise}}|text=Lizenz für SharePoint Onpremise  sehr langer button text}}
+
{{Button|fontsize=small|color=#FF4242|page=Semantic_Search_Webparts|text=Lizenz für SharePoint Onpremise  sehr langer button text|expandsection=QM-Wiki}}
  
 +
If text-parameter is omitted then the display title of the linked page is displayed.
 +
 +
{{Button|fontsize=small|color=#FF4242|page=Semantic_Search_Webparts}}
  
 
rot:
 
rot:
{{Button|color=#FF4242|link=Ein Angebot anfordern|text=Ein Angebot an&shy;fordern  sehr langer button text}}
+
{{Button|color=#FF4242|page=Ein Angebot anfordern|text=Ein Angebot an&shy;fordern  sehr langer button text}}
  
 
grün:
 
grün:
{{Button|color=#A0B844|link=Ein Angebot anfordern|text=Ein Angebot an&shy;fordern sehr langer button text}}
+
{{Button|color=#A0B844|page=Ein Angebot anfordern|text=Ein Angebot an&shy;fordern sehr langer button text}}
  
</noinclude><includeonly><div style="width: 100%; margin: auto; text-align: center;">
+
</noinclude><includeonly><div style="width: 100%; margin: auto; text-align: {{{text-align|center}}};">
<div class="diqabutton" style="background-color: {{{color|#A0B844}}};"><span class="buttontext {{{fontsize|}}}">{{#ifexist:{{{link|}}}|[[{{{link|}}}|&#9654;&nbsp;{{{text|}}}]]|<html><a href="http://</html>{{SERVERNAME}}{{{link|}}}"<html> target="_self"> &#9654;&nbsp;</html>{{{text|}}}<html></a></html>}}</span>
+
<div class="diqabutton" style="background-color: {{{color|#A0B844}}}; position: relative; z-index: 1; margin: {{{margin|1em}}};"><span class="buttontext {{{fontsize|}}}"><html><a href="</html>{{#ifeq:{{{page|}}}|||<nowiki>http://</nowiki>{{SERVERNAME}}{{localurl:{{{page|}}}|{{#ifeq:{{{expandsection|}}}|||expandsection={{{expandsection|}}}}}}}}}{{#ifeq:{{{link|}}}|||<html>{{{link|}}}</html>}}<html>"
 +
target="_self" title="</html>{{#ifeq:{{{text|}}}||{{#show:{{{page|}}}|?Display title of=}}|{{{text|}}}}}<html>"> &#9654;&nbsp;</html>{{#ifeq:{{{text|}}}||{{#show:{{{page|}}}|?Display title of=}}|{{{text|}}}}}<html></a></html></span>
 
</div>
 
</div>
 
</div></includeonly>
 
</div></includeonly>

Aktuelle Version vom 19. September 2018, 22:21 Uhr

url mit param:

If text-parameter is omitted then the display title of the linked page is displayed.

rot:

grün: