Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
m
m (Text replacement - "{{WpBadge}}" to "")
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__ __NOEDITSECTION__ <noinclude>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:<pre>
+
__NOTOC__ __NOEDITSECTION__ <noinclude>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 {{cat|Wikipedia+ Pages}}. It should be called in the following format:<pre>
 
{{WpPage
 
{{WpPage
 
|WpPageName=
 
|WpPageName=
 
|WpURL= Wikipedia URL (Required)
 
|WpURL= Wikipedia URL (Required)
|WpIntro=Quick description of Wikipedia's main problems (Strongly Recommended)
+
|WpIntro=Quick description of the Wikipedia Page Problems (Strongly Recommended)
 +
|WsDesc=Quick description of Wikispooks Page
 
|WPBias= Whether the WP article is ''biased''.
 
|WPBias= Whether the WP article is ''biased''.
 
|WPCensored=...
 
|WPCensored=...
Line 32: Line 33:
 
</pre>
 
</pre>
 
Edit the page to see the template text.</noinclude><includeonly>
 
Edit the page to see the template text.</noinclude><includeonly>
{{WpBadge}}
+
 
{| style="text-align:center; font-size: 166%; color: black; margin-bottom: 0em;  margin-right: 0.66em; float:left;"
+
{| style="text-align:left; font-size: 166%; color: black; margin-bottom: 0em;  margin-right: 0.66em; float:left;"
 +
|-
 +
| {{#if: {{{WsLink0|}}} |style="background-color: #DFDFFF; border: 1px solid #aaaaaa; padding: 0.4em; "|}} | {{#if: {{{WsLink0|}}} | [[Image:WsIcon32.png|28px |link={{{WsLink0}}} |alt={{{WsLink0}}}]] '''[[Has WS page::{{{WsLink0}}}]]'''|}}
 
|-
 
|-
| {{#if: {{{WsLink0|}}} |style="background-color: #DFDFFF; border: 1px solid #aaaaaa; padding: 0.4em; "|}} | {{#if: {{{WsLink0|}}} | [[Image:WsIcon32.png|28px |link={{{WsLink0}}} |alt={{{WsLink0}}}]] '''[[{{{WsLink0}}}]]'''|}}
 
 
|style="border: 1px solid #aaaaaa; padding: 0.4em; "| [[Image:WpIcon32.png|28px |link={{{WpURL|}}}]] '''{{#if: {{{WpURL|}}}| [{{{WpURL|}}} <font color="black">{{PAGENAME}}]</font> |<font color="red">Error. Missing <font face="courier">WpURL</font> parameter!</font> }}'''
 
|style="border: 1px solid #aaaaaa; padding: 0.4em; "| [[Image:WpIcon32.png|28px |link={{{WpURL|}}}]] '''{{#if: {{{WpURL|}}}| [{{{WpURL|}}} <font color="black">{{PAGENAME}}]</font> |<font color="red">Error. Missing <font face="courier">WpURL</font> parameter!</font> }}'''
|}<br/><br/><br/>
+
|}<br/><br/><br/><br/><br/>
 
<!-- We face issues with escaping '|' characters :!... -->
 
<!-- We face issues with escaping '|' characters :!... -->
{{WPProblems|details={{{WpIntro|}}}|bias={{{WPBias|}}}|censored={{{WPCensored|}}}|gaps={{{WPGaps|}}}|newsprint={{{WPNewsprint|}}}}}|twisted={{WPTwisted|}}}|unclear={{{WPUnclear|}}}
+
{{WPProblems|details={{{WpIntro|}}}|bias={{{WPBias|}}}|censored={{{WPCensored|}}}|gaps={{{WPGaps|}}}|newsprint={{{WPNewsprint|}}}|twisted={{{WPTwisted|}}}|unclear={{{WPUnclear|}}} }}
 +
{{{WsDesc|}}}
 +
==Related Wikispooks Pages==
 
{{#ifeq: {{{Stub|}}}|Yes|{{WpStub}}<br/>|}}
 
{{#ifeq: {{{Stub|}}}|Yes|{{WpStub}}<br/>|}}
<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/>|}}
 
{{#if: {{{ExLink1|}}} |<br/>
 
{{#if: {{{ExLink1|}}} |<br/>
 
==External Links==
 
==External Links==
*<b>[[WpNsRelatedLink::{{{ExLink1|}}}|{{{ExLink1Name|}}}]]</b> - {{{ExLink1Desc|}}}<br/>|}}
+
*<b>[{{{ExLink1|}}} {{{ExLink1Name|}}}]</b> - {{{ExLink1Desc|}}}<br/>|}}
{{#if: {{{ExLink2|}}} |*<b>[[WpNsRelatedLink::{{{ExLink2|}}}|{{{ExLink2Name|}}}]]</b> - {{{ExLink2Desc|}}}<br/>|}}
+
{{#if: {{{ExLink2|}}} |*<b>[{{{ExLink2|}}} {{{ExLink2Name|}}}]</b> - {{{ExLink2Desc|}}}<br/>|}}
{{#if: {{{ExLink3|}}} |*<b>[[WpNsRelatedLink::{{{ExLink3|}}}|{{{ExLink3Name|}}}]]</b> - {{{ExLink3Desc|}}}<br/>|}}
+
{{#if: {{{ExLink3|}}} |*<b>[{{{ExLink3|}}} {{{ExLink3Name|}}}]</b> - {{{ExLink3Desc|}}}<br/>|}}
{{#if: {{{ExLink4|}}} |*<b>[[WpNsRelatedLink::{{{ExLink4|}}}|{{{ExLink4Name|}}}]]</b> - {{{ExLink4Desc|}}}<br/>|}}
+
{{#if: {{{ExLink4|}}} |*<b>[{{{ExLink4|}}} {{{ExLink4Name|}}}]</b> - {{{ExLink4Desc|}}}<br/>|}}
{{#if: {{{ExLink5|}}} |*<b>[[WpNsRelatedLink::{{{ExLink5|}}}|{{{ExLink5Name|}}}]]</b> - {{{ExLink5Desc|}}}<br/>|}}
+
{{#if: {{{ExLink5|}}} |*<b>[{{{ExLink5|}}} {{{ExLink5Name|}}}]</b> - {{{ExLink5Desc|}}}<br/>|}}
{{#if: {{{ExLink6|}}} |*<b>[[WpNsRelatedLink::{{{ExLink6|}}}|{{{ExLink6Name|}}}]]</b> - {{{ExLink6Desc|}}}<br/>|}}
+
{{#if: {{{ExLink6|}}} |*<b>[{{{ExLink6|}}} {{{ExLink6Name|}}}]</b> - {{{ExLink6Desc|}}}<br/>|}}
{{#if: {{{ExLink7|}}} |*<b>[[WpNsRelatedLink::{{{ExLink7|}}}|{{{ExLink7Name|}}}]]</b> - {{{ExLink7Desc|}}}<br/>|}}
+
{{#if: {{{ExLink7|}}} |*<b>[{{{ExLink7|}}} {{{ExLink7Name|}}}]</b> - {{{ExLink7Desc|}}}<br/>|}}
{{#if: {{{ExLink8|}}} |*<b>[[WpNsRelatedLink::{{{ExLink8|}}}|{{{ExLink8Name|}}}]]</b> - {{{ExLink8Desc|}}}<br/>|}}
+
{{#if: {{{ExLink8|}}} |*<b>[{{{ExLink8|}}} {{{ExLink8Name|}}}]</b> - {{{ExLink8Desc|}}}<br/>|}}
{{#if: {{{ExLink9|}}} |*<b>[[WpNsRelatedLink::{{{ExLink9|}}}|{{{ExLink9Name|}}}]]</b> - {{{ExLink9Desc|}}}<br/>|}}
+
{{#if: {{{ExLink9|}}} |*<b>[{{{ExLink9|}}} {{{ExLink9Name|}}}]</b> - {{{ExLink9Desc|}}}<br/>|}}
 
{{#if: {{{Notes|}}} | ==Additional Information==
 
{{#if: {{{Notes|}}} | ==Additional Information==
{{{Notes|}}}|}}<references/>[[Category:WpPages]]</includeonly>
+
{{{Notes|}}}|}}<references/>[[Category:Wikipedia+ Pages]]</includeonly>

Latest revision as of 15:12, 3 January 2016

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:Wikipedia+ Pages. It should be called in the following format:

{{WpPage
|WpPageName=
|WpURL= Wikipedia URL (Required)
|WpIntro=Quick description of the Wikipedia Page Problems (Strongly Recommended)
|WsDesc=Quick description of Wikispooks Page
|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.