Difference between revisions of "Template:WPProblems"

From Wikispooks
Jump to navigation Jump to search
(test tidy)
Line 2: Line 2:
 
{|style="align:center; color:navy; background-color:#dddddd;" cellpadding="1" class="wikitable"
 
{|style="align:center; color:navy; background-color:#dddddd;" cellpadding="1" class="wikitable"
 
|{{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}}
 
|{{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|}}}
+
{{#if: {{{details|}}} {{|}}{{{details|}}} }}
 
|}
 
|}
 
</center></includeonly><noinclude>
 
</center></includeonly><noinclude>
Line 29: Line 29:
 
|}
 
|}
 
[[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:
+
'''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=Yes|unclear=Yes|details=The multiple Wikipedia pages on "assassinations" are wordy treatments showing great selectivity and bias.}}</nowiki></font>
 
|<font face="courier"><nowiki>{{WPProblems|bias=Yes|unclear=Yes|details=The multiple Wikipedia pages on "assassinations" are wordy treatments showing great selectivity and bias.}}</nowiki></font>

Revision as of 03:07, 15 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=Yes|unclear=Yes|details=The multiple Wikipedia pages on "assassinations" are wordy treatments showing great selectivity and bias.}}
bias unclear