Difference between revisions of "Template:MainPagePic"

From Wikispooks
Jump to navigation Jump to search
m
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(4 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><includeonly>
+
<noinclude>'''This template makes a picture panel for the main page.'''[[Category:Wikispooks Templates]]<br/>
|pic_header = Ukraine map
+
<br/>
|pic_name = Ukrainemap.jpg
+
Usage:<br/>
|pic_description =
+
<nowiki>{{</nowiki>{{PAGENAME}}<br/>
<div style="border-bottom:1px solid #9a9a9a; border-top:1px solid #9a9a9a; background-color:#f6f6f6; padding:0.5em 0.5em; font-size:115%; text-align:center;">'''{{{pic_header|}}}'''</div>
+
|title= section title<br/>
<div style="padding:0.5em;font-size:100%;">
+
|file= FileName.ext<br/>
[[File:{{{pic_name}}}|460px]]<br/>
+
|text= description (Optional)<br/>
{{{pic_description}}}
+
<nowiki>}}</nowiki>
</div>
+
</noinclude><includeonly>
</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)
}}