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

From blackwiki
Jump to navigation Jump to search
test>JLJ001
(new template for generic portal use.)
 
test>JLJ001
Line 1: Line 1:
{{#if:{{{version|}}
+
{{#if:{{{version|}}}
 
|{{#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}}}}}
{| class="noprint" width="100%"  border="0" style="padding: 0; margin: 0; background-color:transparent"
+
{{{!}} class="noprint" width="100%"  border="0" style="padding: 0; margin: 0; background-color:transparent"
|-
+
{{!}}-
| width="33%"| <div style="text-align:left;">'''[[Portal:{{PAGENAME}}/Selected Quotes|...Archive/Nominations]]'''</div> ||
+
{{!}} width="33%"{{!}} <div style="text-align:left;">'''[[Portal:{{PAGENAME}}/Selected Quotes|...Archive/Nominations]]'''</div> {{!}}{{!}}
 
<div style="text-align:right;margin-right:10px;margin-bottom:0px;">
 
<div style="text-align:right;margin-right:10px;margin-bottom:0px;">
 
{{#if:{{{link|}}}|'''[[{{{link}}}|Read more...]]'''}}
 
{{#if:{{{link|}}}|'''[[{{{link}}}|Read more...]]'''}}
 
</div >
 
</div >
|}
+
{{!}}}
 
|<center>
 
|<center>
{| class="noprint" border="0" style=" text-align:left; padding: 0; margin: 0; background-color:transparent"
+
{{{!}} 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}}}]]
+
{{!}}{{#if:{{{image}}}|<div style="float:left;margin-right:1em">[[Image:{{{image}}}|{{#if:{{{size}}}|{{{size|70px}}}|70px}}|{{{caption}}}]]
 
</div>}}''{{{quote}}}''
 
</div>}}''{{{quote}}}''
<div style="text-align:right; margin-right:10px"> — {{#if:{{{link}}}|'''[[{{{link}}}]]'''}}{{#if:{{{detail}}}|, {{{detail}}}}} </div>
+
<div style="text-align:right; margin-right:10px"> — {{#if:{{{link}}}|'''[[{{{link}}}]]'''}}{{#if:{{{detail}}}|, {{{detail}}}}} </div>
|}
+
{{!}}}
 
</center>
 
</center>
 
}}
 
}}

Revision as of 10:11, 24 May 2018

[[Image:{{{image}}}|70px|{{{caption}}}]]
{{{quote}}}
[[{{{link}}}]], {{{detail}}}


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 -->
}}