Difference between revisions of "Template:Login button"

From cm2.liecourt.com
(Fill database)
(Fill database)
 
(3 intermediate revisions by 2 users not shown)
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;  
}}
+
}} -->
 
|<!--
 
|<!--
  
Line 60: Line 65:
 
|buttontext={{fa|sign-out-alt}}&nbsp;{{int:ws-login}}
 
|buttontext={{fa|sign-out-alt}}&nbsp;{{int:ws-login}}
 
|style=width:100px;  
 
|style=width:100px;  
}}<!--
+
}} / {{#widget:Button link
-->{{#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={{fullurl:Special:CreateAccount}}
 
|href={{fullurl:Special:CreateAccount}}
 
|title=Sign up
 
|title=Sign up
|buttontext={{fa|edit}}&nbsp;Sign up
+
|buttontext=Sign up
 
|style=width:100px;  
 
|style=width:100px;  
 
}}
 
}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 11:42, 28 July 2021