Vorlage:Button: Unterschied zwischen den Versionen
Aus DIQA-Homepage
(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| | + | {{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| | + | {{Button|color=#FF4242|page=Ein Angebot anfordern|text=Ein Angebot an­fordern sehr langer button text}} |
grün: | grün: | ||
− | {{Button|color=#A0B844| | + | {{Button|color=#A0B844|page=Ein Angebot anfordern|text=Ein Angebot an­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|}}}">{{# | + | <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>"> ▶ </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: