Difference between revisions of "Template:WPProblems"

From Wikispooks
Jump to navigation Jump to search
m (fix table)
(tidy)
 
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><center>
+
<includeonly>
{| style="align:center; color:navy; background-color:#dddddd;" cellpadding="10" class="wikitable"
+
{|style="align:center; color:navy; background-color:#dddddd;" cellpadding="1" class="wikitable"
| {{#if {{bias|}}       {{WPIcon|bias}}|}}
+
|{{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}}
{{#if {{gaps|}}       {{WPIcon|gaps}}|}}
+
|{{{details|}}}
{{#if {{newsprint|}} {{WPIcon|newsprint}}|}}
 
{{#if {{twisted|}}   {{WPIcon|twisted}}|}}
 
{{#if {{unclear|}}   {{WPIcon|unclear}}|}}
 
| The corresponding [http://en.wikipedia.org/wiki/{{PAGENAMEE}} Wikipedia page has problems.
 
 
|}
 
|}
</center></includeonly><noinclude>
+
</includeonly><noinclude>
'''This template is for <font face="courier">wikipedia:</font> pages, for normal Wikispooks pages see [[:template:WPAdjunct |template:WPAdjunct]].'''<br/>
+
'''This template is for <font face="courier">wikipedia:</font> pages, for normal Wikispooks pages use [[:template:WPMissing |template:WPMissing]].'''<br/>
It aims to standardise the explanations for articles. It adds a short set of icons which explain the problems with the wikipedia page, controlled by 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"
{| cellpadding="10" class="wikitable"
+
|<font face="courier"><nowiki>|bias=Yes</nowiki></font>
|<font face="courier"><nowiki>|bias</nowiki></font>
+
|{{WPIcon|Bias|nocat}}
 +
| &nbsp;
 +
|<font face="courier"><nowiki>|censored=Yes</nowiki></font>
 +
|{{WPIcon|Censorship|nocat}}
 +
| &nbsp;
 +
|<font face="courier"><nowiki>|gaps=Yes</nowiki></font>
 +
|{{WPIcon|Gaps|nocat}}
 +
| &nbsp;
 
|-
 
|-
|<font face="courier"><nowiki>|gaps</nowiki></font>
+
|<font face="courier"><nowiki>|twisted=Yes</nowiki></font>
|-
+
|{{WPIcon|Spin|nocat}}
|<font face="courier"><nowiki>|newsprint</nowiki></font>
+
| &nbsp;
|-
+
|<font face="courier"><nowiki>|unclear=Yes</nowiki></font>
|<font face="courier"><nowiki>|twisted</nowiki></font>
+
|{{WPIcon|Obfuscation|nocat}}
|-
 
|<font face="courier"><nowiki>|unclear</nowiki></font>
 
 
|-
 
|-
 
|}
 
|}
 
[[category:WPTemplates]]
 
[[category:WPTemplates]]
 +
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"
 +
|<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>
 +
|<center>
 +
{|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.