Difference between revisions of "Template:Home"

From cm2.liecourt.com
(Created page with "<div class="d-none">__NOTOC__ __NOTITLE__{{#tag:html|<style> .banner-gradient { position: absolute; background-image: linear-gradient(257.36deg, rgba(153, 0, 0, 0.43)...")
 
(Fill database)
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<noinclude>{{Managed
 +
|Version=1.0
 +
|Version notes=1.0 - First managed version
 +
|Short description=
 +
}}
 +
 +
This is the '''Home''' template. It should be called in the following format:
 +
 +
<pre>
 +
{{Home }}
 +
</pre>
 +
 +
</noinclude><includeonly>
 
<div class="d-none">__NOTOC__ __NOTITLE__{{#tag:html|<style>
 
<div class="d-none">__NOTOC__ __NOTITLE__{{#tag:html|<style>
 
.banner-gradient {
 
.banner-gradient {
Line 75: Line 88:
 
--><h1>Corona virus hazards</h1><!--
 
--><h1>Corona virus hazards</h1><!--
 
--><p>Today try lies about coronavirus hazards. Remember lies of omission are lies. Also justifying a lie with a lie is a lie (nothing but the truth!). Dig in!</p><!--
 
--><p>Today try lies about coronavirus hazards. Remember lies of omission are lies. Also justifying a lie with a lie is a lie (nothing but the truth!). Dig in!</p><!--
-->{{#widget:link|type=a|text=Participate|class=btn btn-green mt-4|href=#}}<!--
+
-->{{#if:{{CURRENTLOGGEDUSER}}|{{#widget:link|type=a|text=Participate|class=btn btn-green mt-4|href={{fullurl:Prosecute_a_case}}}}|{{#widget:link|type=a|text=Participate|class=btn btn-green mt-4|href={{fullurl:Special:UserLogin}}}} }}<!--
 
--></div><!--
 
--></div><!--
 
--><!--
 
--><!--
  
--></div><div class="body-container"><h1>The daily Lie catcher</h1>{{#vardefine:@daily|{{#ask:[[Class::Workflow]][[Stage::In progress]]|?Modification date|?Lie|?Description|sort=Modification date|limit=1|format=array}} }}<h3>{{#time:d M Y|{{#explode:{{#var:@daily}}|<PROP>|1}} }}</h3><h2>{{#explode:{{#var:@daily}}|<PROP>|2}}</h2><p>{{#explode:{{#var:@daily}}|<PROP>|3}}</p>{{#widget:link|type=a|text=Visit suit page|href= }}</div>
+
--></div><div class="body-container">{{#if:{{{Daily lie|}}}|<h1>The daily Lie catcher</h1>{{#vardefine:@daily|{{#ask:[[{{#show:{{{Daily lie|}}}|?Workflow|link=none}}]]|?Modification date|?Lie|?Description|sort=Modification date|limit=1|format=array}} }}<h3>{{#time:d M Y|{{#explode:{{#var:@daily}}|<PROP>|1}} }}</h3><h2>{{#explode:{{#var:@daily}}|<PROP>|2}}</h2><p>{{#explode:{{#var:@daily}}|<PROP>|3}}</p>{{#widget:link|type=a|text=Visit suit page|href={{fullurl:{{{Daily lie|}}} }}  }}|
 +
<h1>{{{Lie heading|}}}</h1>
 +
<h3>{{{Lie date|}}}</h3><!--
 +
--><h2>{{{Lie title|}}}</h2><!--
 +
--><p>{{{Lie text|}}}</p><!--
 +
-->{{#if:{{CURRENTLOGGEDUSER}}|{{#widget:link|type=a|text=Visit suit page|href={{{Lie link|}}}|{{#widget:link|type=a|text=Please login to see suit page|href={{fullurl:Special:UserLogin}} }} }}
 +
}} }}</div>
 +
<!--
 +
--><!--
 +
--><!--
 +
--><!--
 +
--><!--
 +
--><!--
 +
--><!--
 +
--><!--
 +
--><!--
 +
--><!--
 +
--><!--
 +
-->
 +
 
 +
</includeonly>

Revision as of 09:42, 14 August 2020


This is the Home template. It should be called in the following format:

{{Home }}