Difference between revisions of "Template:Home"

From cm2.liecourt.com
(Replaced content with "{{subst:new}}")
(Tag: Replaced)
Line 1: Line 1:
<div class="d-none">__NOTOC__ __NOTITLE__{{#tag:html|<style>
+
<noinclude>{{Managed
.banner-gradient {
+
|Version=1.0
    position: absolute;
+
|Version notes=1.0 - First managed version
    background-image: linear-gradient(257.36deg, rgba(153, 0, 0, 0.43) -0.72%, rgba(0, 102, 153, 0.73) 95.12%), url({{filepath:Home banner.png}});
+
|Short description=
    top: 0;
+
}}
    left: 0;
 
    width: 100%;
 
    height: 100%;
 
    z-index:-1;
 
  background-size: cover;
 
    background-position: center;
 
}
 
.banner img {
 
    width: 100%;
 
    height:auto;
 
}
 
.btn-green {
 
    background: #339966;
 
    color: white;
 
    padding: 9px 35px;
 
    border-radius:30px;
 
  font-weight: 600;
 
}
 
.body-container {
 
    padding: 4em 0;
 
}
 
.banner-body h1{
 
    padding-top: 0;
 
color: white;
 
    font-family: times new roman;
 
    font-size: 68px;
 
    font-style: italic;
 
    font-weight: 900;
 
    border: none;
 
 
 
}
 
.banner-body h2{
 
font-weight: 600;
 
font-size: 26px;
 
color: white;
 
    border: none;
 
  
}
+
This is the '''Home''' template. It should be called in the following format:
h1 {
 
font-size: 32px;
 
    border: none;
 
  font-weight: 900;
 
color: #006699;
 
}
 
h3 {
 
    font-size: 19px;
 
    border: none;
 
    margin: 0;
 
    padding: 0;
 
    color: #484848;
 
  font-weight: 600;
 
}
 
h2 {
 
font-size: 21px;
 
    border: none;
 
padding:0;
 
  font-weight: 600;
 
color: #006699;
 
}
 
</style>}}</div>
 
<div class="body-container mt-4 mb-4 text-center">[[File:Logo.png|link=|300x300px]]
 
We are serious about bringing truth to lies in Digital Media.
 
<div class="home-search mb-4"><div id="simpleSearch" class="right-inner-addon">{{fa|search}}
 
<wsform action="get" mwreturn="{{fullurl:Search}}" restrictions="lifted"><wsfield type="text" class="form-control" name="query" placeholder="Search Internet Court of Lies" /></wsform>
 
</div> </div>
 
{{#widget:link|href=#|text=how to get started|type=a}}
 
</div>
 
<div class="banner><div class="banner-gradient"></div><!--
 
--><div class="banner-body body-container text-white"><h2>The Daily Lie Catcher:</h2><!--
 
--><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><!--
 
-->{{#widget:link|type=a|text=Participate|class=btn btn-green mt-4|href=#}}<!--
 
--></div><!--
 
--><!--
 
  
--></div><div class="body-container"><h1>The daily Lie catcher</h1>{{#if:{{{Daily lie|}}}|{{#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|}}} }} }}|{{#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>
+
<pre>
<!--
+
{{Home }}
--><!--
+
</pre>
--><!--
+
 
--><!--
+
</noinclude><includeonly>
--><!--
+
 
--><!--
+
</includeonly>
--><!--
 
--><!--
 
--><!--
 
--><!--
 
--><!--
 
-->
 

Revision as of 14:41, 22 May 2020


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

{{Home }}