Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
(Use WPProblems template)
Line 3: Line 3:
 
|WpPageName=
 
|WpPageName=
 
|WpURL= Wikipedia URL (Required)
 
|WpURL= Wikipedia URL (Required)
|WpIntro=
+
|WpIntro=Quick description of Wikipedia's main problems (Strongly Recommended)
 +
|WPBias= Whether the WP article is ''biased''.
 +
|WPCensored= Whether the WP article is ''censored''.
 +
|WPGaps= Whether the WP article has ''gaps''.
 +
|WPNewsprint= Whether the WP article is overreliant on [[MSM]].
 +
|WPTwisted= Whether the WP article is ''twisted''.
 +
|WPUnclear= Whether the WP article is ''unclear''.
 
|WsLink0= The Main WS Page (Recommended)
 
|WsLink0= The Main WS Page (Recommended)
 
|Stub=Yes (Optional stub marker)
 
|Stub=Yes (Optional stub marker)
Line 34: Line 40:
  
 
<!-- We face issues wth escaping '|' characters :!... -->
 
<!-- We face issues wth escaping '|' characters :!... -->
{{WPProblems|{{#ifeq: {{{WPUnclear|}}}|Yes|Unclear|}}|details={{{WpIntro|}}} }}
+
{{WPProblems|details={{{WpIntro|}}}|{{#ifeq: {{{WPBias|}}}|Yes|\pbias|}} {{#ifeq: {{{WPCensored|}}}|Yes|\pcensored|}} {{#ifeq: {{{WPGaps|}}}|Yes|\pgaps|}} {{#ifeq: {{{WPUnclear|}}}|Yes|\pUnclear|}} {{#ifeq: {{{WPTwisted|}}}|Yes|\ptwisted|}} {{#ifeq: {{{WPNewsprint|}}}|Yes|\pnewsprint|}} }}
 
+
{{#ifeq: {{{Stub|}}}|Yes|{{WpStub}}<br/>|}}
 
 
{{#if: {{{WpIntro|}}} | <span style="font-size: 120%;">{{{WpIntro}}}</span><br/><br/>|}}{{#ifeq: {{{Stub|}}}|Yes|{{WpStub}}<br/>|}}
 
 
 
 
<hr/>
 
<hr/>
 
{{#if: {{{WsLink1|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink1}}} |alt={{{WsLink1}}}]] <b>[[WpNsRelatedPage::{{{WsLink1}}}]]</b> - {{{WsLink1Desc|}}}<br/>|}}{{#if: {{{WsLink2|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink2}}} |alt={{{WsLink2}}}]] <b>[[WpNsRelatedPage::{{{WsLink2}}}]]</b> - {{{WsLink2Desc|}}}<br/>|}}{{#if: {{{WsLink3|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink3}}} |alt={{{WsLink3}}}]] <b>[[WpNsRelatedPage::{{{WsLink3}}}]]</b> - {{{WsLink3Desc|}}}<br/>|}}{{#if: {{{WsLink4|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink4}}} |alt={{{WsLink4}}}]] <b>[[WpNsRelatedPage::{{{WsLink4}}}]]</b> - {{{WsLink4Desc|}}}<br/>|}}{{#if: {{{WsLink5|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink5}}} |alt={{{WsLink5}}}]] <b>[[WpNsRelatedPage::{{{WsLink5}}}]]</b> - {{{WsLink5Desc|}}}<br/>|}}{{#if: {{{WsLink6|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink6}}} |alt={{{WsLink6}}}]] <b>[[WpNsRelatedPage::{{{WsLink6}}}]]</b> - {{{WsLink6Desc|}}}<br/>|}}{{#if: {{{WsLink7|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink7}}} |alt={{{WsLink7}}}]] <b>[[WpNsRelatedPage::{{{WsLink7}}}]]</b> - {{{WsLink7Desc|}}}<br/>|}}{{#if: {{{WsLink8|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink8}}} |alt={{{WsLink8}}}]] <b>[[WpNsRelatedPage::{{{WsLink8}}}]]</b> - {{{WsLink8Desc|}}}<br/>|}}{{#if: {{{WsLink9|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink9}}} |alt={{{WsLink9}}}]] <b>[[WpNsRelatedPage::{{{WsLink9}}}]]</b> - {{{WsLink9Desc|}}}<br/>|}}
 
{{#if: {{{WsLink1|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink1}}} |alt={{{WsLink1}}}]] <b>[[WpNsRelatedPage::{{{WsLink1}}}]]</b> - {{{WsLink1Desc|}}}<br/>|}}{{#if: {{{WsLink2|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink2}}} |alt={{{WsLink2}}}]] <b>[[WpNsRelatedPage::{{{WsLink2}}}]]</b> - {{{WsLink2Desc|}}}<br/>|}}{{#if: {{{WsLink3|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink3}}} |alt={{{WsLink3}}}]] <b>[[WpNsRelatedPage::{{{WsLink3}}}]]</b> - {{{WsLink3Desc|}}}<br/>|}}{{#if: {{{WsLink4|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink4}}} |alt={{{WsLink4}}}]] <b>[[WpNsRelatedPage::{{{WsLink4}}}]]</b> - {{{WsLink4Desc|}}}<br/>|}}{{#if: {{{WsLink5|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink5}}} |alt={{{WsLink5}}}]] <b>[[WpNsRelatedPage::{{{WsLink5}}}]]</b> - {{{WsLink5Desc|}}}<br/>|}}{{#if: {{{WsLink6|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink6}}} |alt={{{WsLink6}}}]] <b>[[WpNsRelatedPage::{{{WsLink6}}}]]</b> - {{{WsLink6Desc|}}}<br/>|}}{{#if: {{{WsLink7|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink7}}} |alt={{{WsLink7}}}]] <b>[[WpNsRelatedPage::{{{WsLink7}}}]]</b> - {{{WsLink7Desc|}}}<br/>|}}{{#if: {{{WsLink8|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink8}}} |alt={{{WsLink8}}}]] <b>[[WpNsRelatedPage::{{{WsLink8}}}]]</b> - {{{WsLink8Desc|}}}<br/>|}}{{#if: {{{WsLink9|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink9}}} |alt={{{WsLink9}}}]] <b>[[WpNsRelatedPage::{{{WsLink9}}}]]</b> - {{{WsLink9Desc|}}}<br/>|}}

Revision as of 10:33, 14 June 2012

This is the "WpPage" template. It is for use on pages which report Wikipedia pages with the same name and requires the Wikipedia PageName and URL. All such pages are in the 'Wikipedia' namespace and belong to the category 'WpPages'. It should be called in the following format:

{{WpPage
|WpPageName=
|WpURL= Wikipedia URL (Required)
|WpIntro=Quick description of Wikipedia's main problems (Strongly Recommended)
|WPBias= Whether the WP article is ''biased''.
|WPCensored= Whether the WP article is ''censored''.
|WPGaps= Whether the WP article has ''gaps''.
|WPNewsprint= Whether the WP article is overreliant on [[MSM]].
|WPTwisted= Whether the WP article is ''twisted''.
|WPUnclear= Whether the WP article is ''unclear''.
|WsLink0= The Main WS Page (Recommended)
|Stub=Yes (Optional stub marker)
|WsLink1=
|WsLink1Desc=
|WsLink2=
|WsLink2Desc=
...
|WsLink9=
|WsLink9Desc=
|ExLink1=
|ExLink1Name=
|ExLink1Desc=
|ExLink2=
|ExLink2Name=
|ExLink2Desc=
...
|ExLink9=
|ExLink9Name=
|ExLink9Desc=
}}

Edit the page to see the template text.