Difference between revisions of "Template:MainPagePic"
Jump to navigation
Jump to search
m (t) |
m (Text replacement - "WikiSpooks" to "Wikispooks") |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>This template | + | <noinclude>'''This template makes a picture panel for the main page.'''[[Category:Wikispooks Templates]]<br/> |
− | {{ | + | <br/> |
− | | | + | Usage:<br/> |
− | | | + | <nowiki>{{</nowiki>{{PAGENAME}}<br/> |
− | | | + | |title= section title<br/> |
− | }} | + | |file= FileName.ext<br/> |
− | <div style="border-bottom | + | |text= description (Optional)<br/> |
− | <div style="padding:0.5em;font-size: | + | <nowiki>}}</nowiki> |
− | [[File:{{{ | + | </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> | + | <div style="padding:0.5em;font-size:90%;text-align:center;"> |
− | </includeonly> | + | [[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)
}}