Difference between revisions of "Template:comic"
Line 8: | Line 8: | ||
<li style="background-color: #6E7B91; border: 1.5px solid #333333; border-radius: 3px 3px 3px 3px; box-shadow: 0 0 5px 0 gray; display: inline; font-size: 16px; font-variant: small-caps; font-weight: 600; margin: 0 4px; padding: 1.5px 12px;">[http://www.xkcd.com/{{{number}}}/ <span style="color: #FFFFFF;">Comic #{{{number}}} {{#if:{{{date|}}}|({{{date|}}})}}</span>]</li> | <li style="background-color: #6E7B91; border: 1.5px solid #333333; border-radius: 3px 3px 3px 3px; box-shadow: 0 0 5px 0 gray; display: inline; font-size: 16px; font-variant: small-caps; font-weight: 600; margin: 0 4px; padding: 1.5px 12px;">[http://www.xkcd.com/{{{number}}}/ <span style="color: #FFFFFF;">Comic #{{{number}}} {{#if:{{{date|}}}|({{{date|}}})}}</span>]</li> | ||
{{#ifexist:{{#expr:{{{number|}}}+1}} | {{#ifexist:{{#expr:{{{number|}}}+1}} | ||
− | |<li style="background-color: #6E7B91; border: 1.5px solid #333333; border-radius: 3px 3px 3px 3px; box-shadow: 0 0 5px 0 gray; display: inline; font-size: 16px; font-variant: small-caps; font-weight: 600; margin: 0 4px; padding: 1.5px 12px;">[[{{#expr:{{{number|}}}+1}}|<span style="color: #FFFFFF;">Next ></span>]]</li>|<li style="border: 1.5px ; border-radius: 3px 3px 3px 3px; box-shadow: 0; display: inline; font-size: 16px; font-variant: small-caps; font-weight: 600; margin: 0 4px; padding: 1.5px 12px;"><span style="color: #FFFFFF;"> </span></li>}} | + | |<li style="background-color: #6E7B91; border: 1.5px solid #333333; border-radius: 3px 3px 3px 3px; box-shadow: 0 0 5px 0 gray; display: inline; font-size: 16px; font-variant: small-caps; font-weight: 600; margin: 0 4px; padding: 1.5px 12px;">[[{{#expr:{{{number|}}}+1}}|<span style="color: #FFFFFF;">Next ></span>]]</li>|<li style="border: 1.5px ; border-radius: 3px 3px 3px 3px; box-shadow: 0; display: inline; font-size: 16px; font-variant: small-caps; font-weight: 600; margin: 0 4px; padding: 1.5px 12px;"><span style="color: #FFFFFF;"> </span></li>}} |
</ul></td></tr> | </ul></td></tr> | ||
<tr><td>{{#if:{{{title|}}}|<span style="font-size:20px">'''{{{title|}}}'''</span>}}</td></tr> | <tr><td>{{#if:{{{title|}}}|<span style="font-size:20px">'''{{{title|}}}'''</span>}}</td></tr> |
Revision as of 17:15, 3 August 2012
Usage
{{Comicheader/beta1 | number = | date = | title = {{PAGENAME}} | image = | alttext = }}
Note: If the page title is not the comic title, change the "title" field.