Difference between revisions of "Template:MainPagePic"

From Wikispooks
Jump to navigation Jump to search
m
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>This template defines and is included in the picture box section of the main page</noinclude>
+
<noinclude>'''This template makes a picture panel for the main page.'''[[Category:Wikispooks Templates]]<br/>
<div style="border-bottom:1px solid #9a9a9a; border-top:1px solid #9a9a9a; background-color:#d0e5f5; padding:0.5em 0.5em; font-size:115%; text-align:center;">'''Map of Ukraine'''</div>
+
<br/>
<div style="padding:0.5em;font-size:100%;text-align:center;">
+
Usage:<br/>
[[File:Ukrainemap.jpg|360px]]<br/>
+
<nowiki>{{</nowiki>{{PAGENAME}}<br/>
</div>
+
|title= section title<br/>
 +
|file= FileName.ext<br/>
 +
|text= description (Optional)<br/>
 +
<nowiki>}}</nowiki>
 +
</noinclude><includeonly>
 +
<div style="border-bottom:1px solid #9a9a9a; background-color:#d0e5f5; padding:0.5em 0.5em; font-size:112%;text-align:center;">'''{{{title|}}}'''</div>
 +
<div style="padding:0.5em;font-size:90%;text-align:center;">
 +
[[File:{{{file}}}|400px]]<br/>
 +
{{{text|}}}<br/><small>[[Main Page/Picture archive|Picture archive]]</small></div></includeonly>

Latest revision as of 17:20, 14 October 2018

This template makes a picture panel for the main page.

Usage:
{{MainPagePic
|title= section title
|file= FileName.ext
|text= description (Optional)
}}