Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
(Simplify the logic)
Line 39: Line 39:
 
|}<br/><br/><br/>
 
|}<br/><br/><br/>
 
<!-- We face issues with escaping '|' characters :!... -->
 
<!-- We face issues with escaping '|' characters :!... -->
{{WPProblems|details={{{WpIntro|}}}|{{#ifeq: {{{WPBias|}}}|Yes|{{!}}bias|}} {{#ifeq: {{{WPCensored|}}}|Yes|{{!}}censored|}} {{#ifeq: {{{WPGaps|}}}|Yes|{{!}}gaps|}} {{#ifeq: {{{WPUnclear|}}}|Yes|{{!}}unclear|}} {{#ifeq: {{{WPTwisted|}}}|Yes|{{!}}twisted|}} {{#ifeq: {{{WPNewsprint|}}}|Yes|{{!}}newsprint|}} }}
+
{{WPProblems|details={{{WpIntro|}}}|bias={{{WPBias|}}}|censored={{{WPCensored|}}}|gaps={{{WPGaps|}}}|unclear={{{WPUnclear|}}}|twisted={{{WPTwisted|}}}|newsprint={{{WPNewsprint|}}}}}
 
{{#ifeq: {{{Stub|}}}|Yes|{{WpStub}}<br/>|}}
 
{{#ifeq: {{{Stub|}}}|Yes|{{WpStub}}<br/>|}}
 
<hr/>
 
<hr/>

Revision as of 15:48, 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=...
|WPGaps= 
|WPNewsprint= 
|WPTwisted= 
|WPUnclear=
|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.