Difference between revisions of "Template:Main-panel-twitter"
Jump to navigation
Jump to search
m (Protected "Template:Main-panel-twitter": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(Add height and width parameters) |
||
Line 1: | Line 1: | ||
− | <noinclude>'''This template makes a Wikispooks Twitter-feed panel. Intended primarily for inclusion on the main page.'''[[Category:WikiSpooks Templates]]</noinclude> | + | <noinclude>'''This template makes a Wikispooks Twitter-feed panel. Intended primarily for inclusion on the main page.'''[[Category:WikiSpooks Templates]]<br/> |
+ | <br/> | ||
+ | Usage:<br/> | ||
+ | <nowiki>{{</nowiki>{{PAGENAME}}<br/> | ||
+ | |height= how height to make the panel (defaults to 520)<br/> | ||
+ | |width= how wide to make the panel (defaults to 420)<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;">'''Wikispooks Twitter feed'''</div> | <includeonly><div style="border-bottom:1px solid #9a9a9a; background-color:#d0e5f5; padding:0.5em 0.5em; font-size:112%;text-align:center;">'''Wikispooks Twitter feed'''</div> | ||
<div style="padding:0.5em;font-size:90%;text-align:center;"> | <div style="padding:0.5em;font-size:90%;text-align:center;"> | ||
{{#widget:Iframe | {{#widget:Iframe | ||
|url={{server}}/twitter/TwitterFeed1.html | |url={{server}}/twitter/TwitterFeed1.html | ||
− | | | + | |height={{#if: {{{height|}}}|{{{height}}}|520}} |
− | | | + | |width={{#if: {{{width|}}}|{{{width}}}|420}} |
|border=0 | |border=0 | ||
}} | }} | ||
</div></includeonly> | </div></includeonly> |
Revision as of 14:26, 19 October 2014
This template makes a Wikispooks Twitter-feed panel. Intended primarily for inclusion on the main page.
Usage:
{{Main-panel-twitter
|height= how height to make the panel (defaults to 520)
|width= how wide to make the panel (defaults to 420)
}}