Template

News header

From Dogcraft Wiki

No edit summary
No edit summary
 
Line 4: Line 4:
<div id="headbanner" title="20.88%">{{#if:{{{image|}}}|{{filepath:{{{image|}}}|nowiki}}|/wiki/images/e/e6/Banner_v2.png}}</div>
<div id="headbanner" title="20.88%">{{#if:{{{image|}}}|{{filepath:{{{image|}}}|nowiki}}|/wiki/images/e/e6/Banner_v2.png}}</div>
<indicator name="news-info"><span style="color:#707070;">{{fa|pencil}} Written by {{#if:{{{author|}}}|{{{author|}}}|Dogcraft Wiki}}{{#if:{{{date|}}}|&nbsp;&nbsp;&nbsp;&nbsp;{{fa|calendar}} {{{date|}}}| }}</span></indicator>
<indicator name="news-info"><span style="color:#707070;">{{fa|pencil}} Written by {{#if:{{{author|}}}|{{{author|}}}|Dogcraft Wiki}}{{#if:{{{date|}}}|&nbsp;&nbsp;&nbsp;&nbsp;{{fa|calendar}} {{{date|}}}| }}</span></indicator>
<span class="veonly">TEMPLATE: News header (this line is only visible in editing)</span>
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Latest revision as of 00:09, 27 January 2024


Header for a News page. Adds templatestyle and image behind the title.

Template parameters

ParameterDescriptionTypeStatus
imageimage

no description

Default
/wiki/images/e/e6/Banner_v2.png
Stringoptional
authorauthor

The author, or authors of this page

Default
Dogcraft Wiki
Stringoptional
datedate

The date this page was created

Stringoptional
Background Valentine's Day Event 2024 by TheWhiteTigerNL