Template
News header
From Dogcraft Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<templatestyles src=" | <templatestyles src="Template:News_header/styles.css" /> | ||
__NOTOC__ | __NOTOC__ | ||
<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|}}}| {{fa|calendar}} {{{date|}}}| }}</span></indicator> | <indicator name="news-info"><span style="color:#707070;">{{fa|pencil}} Written by {{#if:{{{author|}}}|{{{author|}}}|Dogcraft Wiki}}{{#if:{{{date|}}}| {{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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
image | image | no description
| String | optional |
author | author | The author, or authors of this page
| String | optional |
date | date | The date this page was created | String | optional |