Template

News header

From Dogcraft Wiki

No edit summary
No edit summary
Line 3: Line 3:
__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|}}}|&nbsp;&nbsp;&nbsp;&nbsp;{{fa|calendar}} {{{date|}}}| }}</span></indicator>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Line 11: Line 12:
"default": "/wiki/images/e/e6/Banner_v2.png",
"default": "/wiki/images/e/e6/Banner_v2.png",
             "type": "string"
             "type": "string"
}
},
        "author": {
            "type": "string",
            "default": "Dogcraft Wiki",
            "description": "The author, or authors of this page"
        },
        "date": {
            "type": "string",
            "description": "The date this page was created"
        }
     },
     },
"description": "Header for a News page. Adds templatestyle and image behind the title.",
"description": "Header for a News page. Adds templatestyle and image behind the title.",
"paramOrder": [
"paramOrder": [
"image"
"image",
        "author",
        "date"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 17:34, 23 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
This page was last modified on 23 January 2024, at 17:34. (9 months ago)