Template:Home season list item: Difference between revisions

From fattwiki
(Template for seasons on the Home page)
Tag: 2017 source edit
 
mNo edit summary
Tag: 2017 source edit
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="margin:0.5em">{{#if: {{{ filename| }}} | [[File: {{{filename}}} |200px]] | <div style="height:200px;width:200px; background-color:#ccc; display:flex; align-items:center; justify-content:center; font-size:18pt; color:#666">?</div> }} <p> {{{text}}} </p></div>
<onlyinclude><templatestyles src="Home season list item/styles.css"/><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>
 
[[Category:Templates]]
</noinclude>

Latest revision as of 02:28, 25 April 2024

TBA

{{{text}}}


Usage example

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