Difference between revisions of "Template:Critical sources box"

m
m
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#ifeq:{{{state|}}}|expanded|<div class="mw-collapsible">|<div class="mw-collapsible mw-collapsed">}}
 
{{#ifeq:{{{state|}}}|expanded|<div class="mw-collapsible">|<div class="mw-collapsible mw-collapsed">}}
{{#if:{{{background_color|}}}|<div style="background-color:{{{background_color}}}; border: thin solid gray">|<div style="background-color:{{Settings:Default_To_learn_more_box_color}}; border: thin solid gray">}}
+
{{#if:{{{background_color|}}}|<div style="background-color:{{{background_color}}}; border: thin solid gray">|<div style="background-color:{{Settings:Default_Critical_sources_box_color}}; border: thin solid gray">}}
  
<div style="float:left;">{{#if:{{{name|}}}|[[Template:To learn more box:{{{name}}}|⍗]]}}</div>
+
<div style="float:left;">{{#if:{{{name|}}}|[[Template:Critical sources box:{{{name}}}|⍗]]}}</div>
  
<center><small>{{#if:{{{critical_sources|}}}|'''Source(s) of the criticism:''' }}</small></center></div>
+
<center><small>{{#if:{{{critical_sources|}}}|'''Source(s) of the criticism{{#if:{{{title|}}}|&mdash;{{{title}}}'''|'''}}}}</small></center></div>
  
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Line 10: Line 10:
 
{{#if:{{{critical_sources|}}}|
 
{{#if:{{{critical_sources|}}}|
 
<tr>
 
<tr>
<td style="width:25%><small><div style="line-height:1.0">'''Key sources'''</div></small></td>
+
<td style="width:25%><small><div style="line-height:1.0">'''Critical sources'''</div></small></td>
 
<td><small><div class="{{#if:{{{liststyle_critical_sources|}}}|hlist|vlist}}">{{#if:{{{critical_sources|}}}|{{{critical_sources}}} }}</div></small></td>
 
<td><small><div class="{{#if:{{{liststyle_critical_sources|}}}|hlist|vlist}}">{{#if:{{{critical_sources|}}}|{{{critical_sources}}} }}</div></small></td>
 +
</tr>}}
 +
{{#if:{{{past_responses|}}}|
 +
<tr>
 +
<td style="width:25%><small><div style="line-height:1.0">'''Past responses'''</div></small></td>
 +
<td><small><div class="{{#if:{{{liststyle_past_responses|}}}|hlist|vlist}}">{{#if:{{{past_responses|}}}|{{{past_responses}}} }}</div></small></td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{group1|}}}|
 
{{#if:{{{group1|}}}|
Line 112: Line 117:
 
<td><small><div style="line-height:1.0">'''{{{group20}}}'''</div></small></td>
 
<td><small><div style="line-height:1.0">'''{{{group20}}}'''</div></small></td>
 
<td><small><div class="{{#if:{{{liststyle20|}}}|hlist|vlist}}">{{#if:{{{list20|}}}|{{{list20}}} }}</div></small></td>
 
<td><small><div class="{{#if:{{{liststyle20|}}}|hlist|vlist}}">{{#if:{{{list20|}}}|{{{list20}}} }}</div></small></td>
</tr>}}
 
{{#if:{{{navigation_main|}}}|
 
<tr>
 
<td style="width:25%><small><div style="line-height:1.0">'''Navigators'''</div></small></td>
 
<td><small><div class="{{#if:{{{liststyle_navigation_main|}}}|hlist|vlist}}">{{#if:{{{navigation_main|}}}|{{{navigation_main}}} }}</div></small></td>
 
</tr>}}
 
{{#if:{{{navigation_sub|}}}|
 
<tr>
 
<td style="width:25%><small><div style="line-height:1.0">'''Sub categories'''</div></small></td>
 
<td><small><div class="{{#if:{{{liststyle_navigation_sub|}}}|hlist|vlist}}">{{#if:{{{navigation_sub|}}}|{{{navigation_sub}}} }}</div></small></td>
 
 
</tr>}}
 
</tr>}}
 
</table>
 
</table>
 
</div>
 
</div>
 
[[Category:To learn more box]]
 
[[Category:To learn more box]]

Latest revision as of 21:02, 19 May 2024