Difference between revisions of "Template:Portal selected quote layout"

From blackwiki
Jump to navigation Jump to search
test>JLJ001
test>JLJ001
Line 1: Line 1:
 
{{#if:{{{version|}}}
 
{{#if:{{{version|}}}
 +
|<center>
 +
{{{!}} class="noprint" border="0" style=" text-align:left; padding: 0; margin: 0; background-color:transparent"
 +
{{!}}{{#if:{{{image}}}|<div style="float:left;margin-right:1em">[[Image:{{{image}}}|{{#if:{{{size}}}|{{{size|70px}}}|70px}}|{{{caption}}}]]
 +
</div>}}''{{{quote}}}''
 +
<div style="text-align:right; margin-right:10px"> — {{#if:{{{link}}}|'''[[{{{link}}}]]'''}}{{#if:{{{detail}}}|, {{{detail}}}}} </div>
 +
{{!}}}
 +
</center>
 
|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|<noinclude>Noflag2.svg</noinclude>}}}|size={{{size|150px}}}|size_default=150px|title=right}}
 
|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|<noinclude>Noflag2.svg</noinclude>}}}|size={{{size|150px}}}|size_default=150px|title=right}}
 
{{Pull quote|{{{text}}}|author={{{author}}}}}
 
{{Pull quote|{{{text}}}|author={{{author}}}}}
Line 9: Line 16:
 
</div >
 
</div >
 
{{!}}}
 
{{!}}}
|<center>
 
{{{!}} class="noprint" border="0" style=" text-align:left; padding: 0; margin: 0; background-color:transparent"
 
{{!}}{{#if:{{{image}}}|<div style="float:left;margin-right:1em">[[Image:{{{image}}}|{{#if:{{{size}}}|{{{size|70px}}}|70px}}|{{{caption}}}]]
 
</div>}}''{{{quote}}}''
 
<div style="text-align:right; margin-right:10px"> — {{#if:{{{link}}}|'''[[{{{link}}}]]'''}}{{#if:{{{detail}}}|, {{{detail}}}}} </div>
 
{{!}}}
 
</center>
 
 
}}
 
}}
  

Revision as of 10:15, 24 May 2018

Template:Pull quote


Layout template

{{Portal selected quote layout
  |version= <!-- defaults to one (can use two) --> 
  |link= <!-- read more link, only needed if using v2 -->
  |image= 
  |caption=
  |quote=
  |detail=
  |size= <!-- Defaults to 70 -->
}}
  • Or
{{Portal selected quote layout
  |version= two
  |link= <!-- read more link, only needed if using v2 -->
  |image= 
  |text=
  |author=
  |link= <!-- optional -->
  |size= <!-- Defaults to 150 -->
}}