Difference between revisions of "Template:Login button"

From cm2.liecourt.com
(Fill database)
(Fill database)
 
Line 28: Line 28:
  
 
-->{{#if:{{CURRENTLOGGEDUSER}}
 
-->{{#if:{{CURRENTLOGGEDUSER}}
|{{#widget:Button link
+
|<wsfield
 +
  type="button" onclick="logmeout()"  style="width:100px; "  class="btn btn-default d-flex color-blue text-nowrap"    title="Log out"><!--
 +
-->{{fa|sign-in-alt}}&nbsp;&nbsp;Log out</wsfield>
 +
 
 +
 
 +
<!-- {{#widget:Button link
 
|target=_self
 
|target=_self
 
|class=btn btn-default d-flex color-blue text-nowrap
 
|class=btn btn-default d-flex color-blue text-nowrap
|href=https://{{SERVERNAME}}/index.php?title=Special:UserLogout&returnto={{urlencode:{{FULLPAGENAME}}|WIKI}}&returntoquery=action%3{{#urlget:action|}}
+
|href={{fullurl: Special:UserLogout |returnto={{urlencode:{{FULLPAGENAME}}|WIKI}}&returntoquery=action%3{{#urlget:action|}} }}
 
|title=Log out
 
|title=Log out
 
|buttontext={{fa|sign-in-alt}}&nbsp;&nbsp;Log out
 
|buttontext={{fa|sign-in-alt}}&nbsp;&nbsp;Log out
 
|style=width:100px;  
 
|style=width:100px;  
}}
+
}} -->
 
|<!--
 
|<!--
  

Latest revision as of 11:42, 28 July 2021