Difference between revisions of "Template:Banner"
From Austin Improv Community Wiki
Monkeyangst (talk | contribs) (Created page with "[[File:{{{image}}}|frameless|1700px|link=]]") |
Monkeyangst (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[File:{{{image}}}|frameless|1700px|link=]] | <templatestyles src="Banner/styles.css"/><div class="banner-image nomobile"> | ||
<div class="banner-box banner-box-{{{direction}}}"> | |||
<div class="name">{{{title}}}</div> | |||
<div class="type">{{{section}}}</div> | |||
</div>[[File:{{{image}}}|frameless|1700px|link=]]</div><noinclude> | |||
{{Uses TemplateStyles|Template:Banner/styles.css}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"direction": {}, | |||
"title": { | |||
"type": "string", | |||
"required": true | |||
}, | |||
"section": {}, | |||
"image": { | |||
"description": "Image name, without the File: prefix", | |||
"example": "Example.png", | |||
"required": true, | |||
"type": "wiki-file-name" | |||
}, | |||
"section-id": {} | |||
}, | |||
"description": "Template for full-width images with inset text.", | |||
"paramOrder": [ | |||
"image", | |||
"title", | |||
"section", | |||
"direction", | |||
"section-id" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 16:57, 11 August 2022
Template:Uses TemplateStyles <templatedata> { "params": { "direction": {}, "title": { "type": "string", "required": true }, "section": {}, "image": { "description": "Image name, without the File: prefix", "example": "Example.png", "required": true, "type": "wiki-file-name" }, "section-id": {} }, "description": "Template for full-width images with inset text.", "paramOrder": [ "image", "title", "section", "direction", "section-id" ] } </templatedata>