Template:Quote: Difference between revisions

switch back to wikitable
(added noinclude example)
(switch back to wikitable)
Line 1: Line 1:
<table align="left" style="border-collapse:collapse; border-style:none; background-color:transparent;" class="cquote">
{| align="left" style="border-collapse:collapse; border-style:none; background-color:transparent;"
<tr>
| rowspan="2" width="20" valign="top" style="color:#B2B7F2;font-size:40px;font-family:'Times New Roman',serif;font-weight:bold;text-align:left;padding:10px 10px;" |
<td rowspan="2" width="20" valign="top" style="color:#B2B7F2;font-size:40px;font-family:'Times New Roman',serif;font-weight:bold;text-align:left;padding:10px 10px;"></td>
| valign="top" style="padding:4px 10px;" | {{#ifeq:{{{2}}}|journal|{{:{{{1}}}/journal}}}}{{#ifeq:{{{2}}}|sale|{{:{{{1}}}/sale}}}}<noinclude>{{:Icon of Progress/journal}}</noinclude>
<td valign="top" style="padding:4px 10px;">{{#ifeq:{{{2}}}|journal|{{:{{{1}}}/journal}}}}{{#ifeq:{{{2}}}|sale|{{:{{{1}}}/sale}}}}<noinclude>{{:Icon of Progress/journal}}</noinclude></td>
| rowspan="2" width="20" valign="bottom" style="color:#B2B7F2;font-size:40px;font-family:'Times New Roman',serif;font-weight:bold;text-align:right;padding:15px 10px;" |
<td rowspan="2" width="20" valign="bottom" style="color:#B2B7F2;font-size:40px;font-family:'Times New Roman',serif;font-weight:bold;text-align:right;padding:15px 10px;"></td>
|-
</tr>
| style="padding-top: 0px" | {{#ifeq:{{{2}}}|journal|<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—[[Captain Olimar]] on the [[{{{1}}}]], entry in [[Olimar's Journal]]</cite></p>}}{{#ifeq:{{{2}}}|sale|<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—[[The Ship]] pitching the [[{{{1}}}]], [[Treasure Hoard|Sales Pitches]]</cite></p>}}
<tr>
|}<noinclude>
<td style="padding-top: 0px">{{#ifeq:{{{2}}}|journal|<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—[[Captain Olimar]] on the [[{{{1}}}]], entry in [[Olimar's Journal]]</cite></p>}}{{#ifeq:{{{2}}}|sale|<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—[[The Ship]] pitching the [[{{{1}}}]], [[Treasure Hoard|Sales Pitches]]</cite></p>}}</td>
</tr>
</table><noinclude>
 
A template for quotes
A template for quotes
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>