Difference between revisions of "Template:WPProblems"

From Wikispooks
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly><center>
 
<includeonly><center>
 
{|style="align:center; color:navy; background-color:#dddddd;" cellpadding="1" class="wikitable"
 
{|style="align:center; color:navy; background-color:#dddddd;" cellpadding="1" class="wikitable"
{{#if: {{gaps|}}|{{!}}{{nowrap begin}}{{WPProblem|{{{1|}}}}}{{WPProblem|{{{2|}}}}}{{WPProblem|{{{3|}}}}}{{WPProblem|{{{4|}}}}}{{WPProblem|{{{5|}}}}}{{WPProblem|{{{6|}}}}}{{nowrap end}}|}}
+
|{{nowrap begin}}{{#ifeq: {{{bias|}}}|Yes|{{WPIcon|bias}}|}}{{#ifeq: {{{censored|}}}|Yes|{{WPIcon|censored}}|}}{{#ifeq: {{{gaps|}}}|Yes|{{WPIcon|gaps}}|}}{{#ifeq: {{{newsprint|}}}|Yes|{{WPIcon|newsprint}}|}}{{#ifeq: {{{twisted|}}}|Yes|{{WPIcon|twisted}}|}}{{#ifeq: {{{unclear|}}}|Yes|{{WPIcon|unclear}}|}}{{nowrap end}}
 
|{{{details|}}}
 
|{{{details|}}}
 
|}
 
|}
Line 8: Line 8:
 
This template makes a short set of icons which explain the main problems with the corresponding wikipedia page. Unlike the other WP templates, it is possible to flag multiple problems. Use the following parameters:
 
This template makes a short set of icons which explain the main problems with the corresponding wikipedia page. Unlike the other WP templates, it is possible to flag multiple problems. Use the following parameters:
 
{|style="width:90%;" cellpadding="1" class="wikitable"
 
{|style="width:90%;" cellpadding="1" class="wikitable"
|<font face="courier"><nowiki>|bias</nowiki></font>
+
|<font face="courier"><nowiki>|bias=Yes</nowiki></font>
 
|{{WPIcon|bias}}
 
|{{WPIcon|bias}}
 
| &nbsp;
 
| &nbsp;
|<font face="courier"><nowiki>|censored</nowiki></font>
+
|<font face="courier"><nowiki>|censored=Yes</nowiki></font>
 
|{{WPIcon|censored}}
 
|{{WPIcon|censored}}
 
| &nbsp;
 
| &nbsp;
|<font face="courier"><nowiki>|gaps</nowiki></font>
+
|<font face="courier"><nowiki>|gaps=Yes</nowiki></font>
 
|{{WPIcon|gaps}}
 
|{{WPIcon|gaps}}
 
| &nbsp;
 
| &nbsp;
 
|-
 
|-
|<font face="courier"><nowiki>|newsprint</nowiki></font>
+
|<font face="courier"><nowiki>|newsprint=Yes</nowiki></font>
 
|{{WPIcon|newsprint}}
 
|{{WPIcon|newsprint}}
 
| &nbsp;
 
| &nbsp;
|<font face="courier"><nowiki>|twisted</nowiki></font>
+
|<font face="courier"><nowiki>|twisted=Yes</nowiki></font>
 
|{{WPIcon|twisted}}
 
|{{WPIcon|twisted}}
 
| &nbsp;
 
| &nbsp;
|<font face="courier"><nowiki>|unclear</nowiki></font>
+
|<font face="courier"><nowiki>|unclear=Yes</nowiki></font>
 
|{{WPIcon|unclear}}
 
|{{WPIcon|unclear}}
 
|-
 
|-

Revision as of 16:32, 14 June 2012

This template is for wikipedia: pages, for normal Wikispooks pages use template:WPAdjunct or template:WPMissing.
This template makes a short set of icons which explain the main problems with the corresponding wikipedia page. Unlike the other WP templates, it is possible to flag multiple problems. Use the following parameters:

|bias=Yes bias    |censored=Yes censored    |gaps=Yes gaps   
|newsprint=Yes newsprint    |twisted=Yes twisted    |unclear=Yes unclear 

None of these problems creates any text, so using |details= to customise the text is recommended. For example:

{{WPProblems|bias|unclear|details=The multiple Wikipedia pages on "assassinations" are wordy treatments showing great selectivity and bias.}}
The multiple Wikipedia pages on "assassinations" are wordy treatments showing great selectivity and bias.