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

From blackwiki
Jump to navigation Jump to search
test>JLJ001
test>JLJ001
(added switch)
Line 11: Line 11:
 
{{{!}} 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%"{{!}} {{#if:{{{archive|}}}|<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...]]'''}}
Line 27: Line 27:
 
   |link= <!-- optional -->
 
   |link= <!-- optional -->
 
   |size= <!-- Defaults to 150 -->
 
   |size= <!-- Defaults to 150 -->
 +
  |archive= <!-- if "yes", then the ...Archive/Nominations link will be shown. leave blank to not show it -->
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 14:47, 24 May 2018

Noflag2.svg

Template:Pull quote


Layout template

{{Portal selected quote layout
  |image= 
  |text=
  |author=
  |link= <!-- optional -->
  |size= <!-- Defaults to 150 -->
  |archive= <!-- if "yes", then the ...Archive/Nominations link will be shown. leave blank to not show it -->
}}
  • Or
{{Portal selected quote layout
  |version= two
  |link= <!-- read more link, only 'needed' if using v2 -->
  |image= 
  |caption=
  |quote=
  |detail=
  |author=
  |link= <!-- optional -->
  |size= <!-- Defaults to 70 -->
}}