Difference between revisions of "Template:WPProblems"

From Wikispooks
Jump to navigation Jump to search
(tidy)
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><center>
+
<includeonly>
 
{|style="align:center; color:navy; background-color:#dddddd;" cellpadding="1" class="wikitable"
 
{|style="align:center; color:navy; background-color:#dddddd;" cellpadding="1" class="wikitable"
{{WPProblem|{{{1|}}}}}{{WPProblem|{{{2|}}}}}{{WPProblem|{{{3|}}}}}{{WPProblem|{{{4|}}}}}{{WPProblem|{{{5|}}}
+
|{{nowrap begin}}{{#ifeq: {{{bias|}}}|Yes|{{WPIcon|Bias}}|}}{{#ifeq: {{{censored|}}}|Yes|{{WPIcon|Censorship}}|}}{{#ifeq: {{{gaps|}}}|Yes|{{WPIcon|Gaps}}|}}{{#ifeq: {{{twisted|}}}|Yes|{{WPIcon|Spin}}|}}{{#ifeq: {{{unclear|}}}|Yes|{{WPIcon|Obfuscation}}|}}{{nowrap end}}
 
|{{{details|}}}
 
|{{{details|}}}
 
|}
 
|}
</center></includeonly><noinclude>
+
</includeonly><noinclude>
'''This template is for <font face="courier">wikipedia:</font> pages, for normal Wikispooks pages use [[:template:WPAdjunct |template:WPAdjunct]] or  [[:template:WPMissing |template:WPMissing]].'''<br/>
+
'''This template is for <font face="courier">wikipedia:</font> pages, for normal Wikispooks pages use [[:template:WPMissing |template:WPMissing]].'''<br/>
 
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|nocat}}
 
| &nbsp;
 
| &nbsp;
|<font face="courier"><nowiki>|gaps</nowiki></font>
+
|<font face="courier"><nowiki>|censored=Yes</nowiki></font>
|{{WPIcon|gaps}}
+
|{{WPIcon|Censorship|nocat}}
 +
| &nbsp;
 +
|<font face="courier"><nowiki>|gaps=Yes</nowiki></font>
 +
|{{WPIcon|Gaps|nocat}}
 
| &nbsp;
 
| &nbsp;
|<font face="courier"><nowiki>|newsprint</nowiki></font>
 
|{{WPIcon|newsprint}}
 
 
|-
 
|-
|<font face="courier"><nowiki>|twisted</nowiki></font>
+
|<font face="courier"><nowiki>|twisted=Yes</nowiki></font>
|{{WPIcon|twisted}}
+
|{{WPIcon|Spin|nocat}}
 
| &nbsp;
 
| &nbsp;
|<font face="courier"><nowiki>|unclear</nowiki></font>
+
|<font face="courier"><nowiki>|unclear=Yes</nowiki></font>
|{{WPIcon|unclear}}
+
|{{WPIcon|Obfuscation|nocat}}
 
|-
 
|-
 
|}
 
|}
Line 27: Line 28:
 
None of these problems creates any text, so using <font face="courier">|details=</font> to customise the text is recommended. For example:
 
None of these problems creates any text, so using <font face="courier">|details=</font> to customise the text is recommended. For example:
 
{|style="width:90%;" cellpadding="1" class="wikitable"
 
{|style="width:90%;" cellpadding="1" class="wikitable"
|<font face="courier"><nowiki>{{WPProblems|bias|unclear|details=The multiple Wikipedia pages on "assassinations" are wordy treatments showing great selectivity and bias.}}
+
|<font face="courier"><nowiki>{{WPProblems|bias=Yes|unclear=Yes|details=The multiple Wikipedia pages on "assassinations" are wordy treatments showing great selectivity and bias.|nocat=nocat}}</nowiki></font>
</nowiki></font>
+
|<center>
|{{WPProblems|bias|unclear|details=The multiple Wikipedia pages on "assassinations" are wordy treatments showing great selectivity and bias.}}
+
{|style="align:center; color:navy; background-color:#dddddd;" cellpadding="1" class="wikitable"
 +
|{{nowrap begin}}{{WPIcon|Bias|nocat}}{{WPIcon|Spin|nocat}}{{nowrap end}}
 +
|The multiple Wikipedia pages on "assassinations" are wordy treatments showing great selectivity and bias.
 +
|}
 +
</center>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 06:46, 26 August 2016

This template is for wikipedia: pages, for normal Wikispooks pages use 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 Censorship    |gaps=Yes Gaps   
|twisted=Yes Spin    |unclear=Yes Obfuscation 

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

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