Template:Home season list item: Difference between revisions

From fattwiki
(Add ability to make season image link to a page)
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
<div style="margin:0.5em">{{#if: {{{ filename| }}} | [[File: {{{filename}}} |200px|link={{{imagepage}}}]] | <div style="height:200px;width:200px; background-color:#ccc; display:flex; align-items:center; justify-content:center; font-size:18pt; color:#666">TBA</div> }} <p> {{{text}}} </p></div>
<templatestyles src="Home season list item/style.css"></templatestyles>
<onlyinclude><div class="home-season-list-item">{{#if: {{{ filename| }}} | [[File: {{{filename}}} |200px|link={{{imagepage}}}]] | <div style="height:200px;width:200px; background-color:#ccc; display:flex; align-items:center; justify-content:center; font-size:18pt; color:#666">TBA</div> }} <p> {{{text}}} </p></div></onlyinclude>
 
<noinclude>
Usage example
 
{{Home season list item
|filename= Sangfielle map large.jpg
|link= Sangfielle (setting)
|text= [[Sangfielle]]
}}
<pre>
{{Home season list item
|filename= Sangfielle map large.jpg
|link= Sangfielle (setting)
|text= [[Sangfielle]]
}}
</pre>
</noinclude>

Revision as of 13:55, 13 July 2022

Page Template:Home season list item/style.css has no content.

TBA

{{{text}}}


Usage example

{{Home season list item
|filename= Sangfielle map large.jpg
|link= Sangfielle (setting)
|text= [[Sangfielle]]
}}