Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "{{WpBadge}}" to "")
 
(207 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
+
__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>
This is the "WpPage" template. It is for use  on pages which report Wikipedia pages with the same name and requires the Wikipedia Page Name 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>
 
 
{{WpPage
 
{{WpPage
 
|WpPageName=
 
|WpPageName=
|WpURL=
+
|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=
 
|WsLink1=
 
|WsLink1Desc=
 
|WsLink1Desc=
 
|WsLink2=
 
|WsLink2=
 
|WsLink2Desc=
 
|WsLink2Desc=
|WsLink3=
+
...
|WsLink3Desc=
+
|WsLink9=
 +
|WsLink9Desc=
 
|ExLink1=
 
|ExLink1=
 +
|ExLink1Name=
 
|ExLink1Desc=
 
|ExLink1Desc=
 
|ExLink2=
 
|ExLink2=
 +
|ExLink2Name=
 
|ExLink2Desc=
 
|ExLink2Desc=
|ExLink3=
+
...
|ExLink3Desc=
+
|ExLink9=
 +
|ExLink9Name=
 +
|ExLink9Desc=
 
}}
 
}}
 
</pre>
 
</pre>
Edit the page to see the template text.
+
Edit the page to see the template text.</noinclude><includeonly>
</noinclude><includeonly>
+
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa;  background-color: #f9f9f9; color: black; margin-bottom: 0.5em;  margin-left: 1em; padding: 0.2em; float: right; clear: right;  text-align:left;"
+
{| style="text-align:left; font-size: 166%; color: black; margin-bottom: 0em;  margin-right: 0.66em; float:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |[[File:WikipediaPlus.png|40px]]<br/>This is a Wikipedia+ page.
 
 
|-
 
|-
| style="text-align:center;" colspan="2"|''It concerns the following Wikipedia page''<br/>&nbsp;
+
| {{#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}}}]]'''|}}
 
|-
 
|-
! Name:
+
|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> }}'''
| [[IsWpPage::{{{WpPageName|}}}]]
+
|}<br/><br/><br/><br/><br/>
|-
+
<!-- We face issues with escaping '|' characters :!... -->
! url:
+
{{WPProblems|details={{{WpIntro|}}}|bias={{{WPBias|}}}|censored={{{WPCensored|}}}|gaps={{{WPGaps|}}}|newsprint={{{WPNewsprint|}}}|twisted={{{WPTwisted|}}}|unclear={{{WPUnclear|}}} }}
| [[IsWpURL::{{{WpURL|}}}]]
+
{{{WsDesc|}}}
|}
+
==Related Wikispooks Pages==
==Page Purpose==
+
{{#ifeq: {{{Stub|}}}|Yes|{{WpStub}}<br/>|}}
To provide links to information relevant to the  '''Wikipedia Page''' and '''url''' detailed in the box - above-right. <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/>|}}
The links are provide in good faith, for additional information purposes only. [[Project:Wikipedia+ Pages|more here]]
+
{{#if: {{{ExLink1|}}} |<br/>
 
+
==External Links==
==Links to content relevant to the Wikipedia page "''{{PAGENAME}}"''==
+
*<b>[{{{ExLink1|}}} {{{ExLink1Name|}}}]</b> - {{{ExLink1Desc|}}}<br/>|}}
====Wikispooks hosted====
+
{{#if: {{{ExLink2|}}} |*<b>[{{{ExLink2|}}} {{{ExLink2Name|}}}]</b> - {{{ExLink2Desc|}}}<br/>|}}
:[[WpNsRelatedPage::{{{WsLink1|}}}]] {{{WsLink1Desc}}}<br/>
+
{{#if: {{{ExLink3|}}} |*<b>[{{{ExLink3|}}} {{{ExLink3Name|}}}]</b> - {{{ExLink3Desc|}}}<br/>|}}
:[[WpNsRelatedPage::{{{WsLink2|}}}]] {{{WsLink2Desc}}}<br/>
+
{{#if: {{{ExLink4|}}} |*<b>[{{{ExLink4|}}} {{{ExLink4Name|}}}]</b> - {{{ExLink4Desc|}}}<br/>|}}
:[[WpNsRelatedPage::{{{WsLink3|}}}]] {{{WsLink3Desc}}}
+
{{#if: {{{ExLink5|}}} |*<b>[{{{ExLink5|}}} {{{ExLink5Name|}}}]</b> - {{{ExLink5Desc|}}}<br/>|}}
 
+
{{#if: {{{ExLink6|}}} |*<b>[{{{ExLink6|}}} {{{ExLink6Name|}}}]</b> - {{{ExLink6Desc|}}}<br/>|}}
====Externally hosted====
+
{{#if: {{{ExLink7|}}} |*<b>[{{{ExLink7|}}} {{{ExLink7Name|}}}]</b> - {{{ExLink7Desc|}}}<br/>|}}
:[[WpNsRelatedLink::{{{ExLink1|}}}]] {{{ExLink1Desc}}}<br/>
+
{{#if: {{{ExLink8|}}} |*<b>[{{{ExLink8|}}} {{{ExLink8Name|}}}]</b> - {{{ExLink8Desc|}}}<br/>|}}
:[[WpNsRelatedLink::{{{ExLink2|}}}]] {{{ExLink2Desc}}}<br/>
+
{{#if: {{{ExLink9|}}} |*<b>[{{{ExLink9|}}} {{{ExLink9Name|}}}]</b> - {{{ExLink9Desc|}}}<br/>|}}
:[[WpNsRelatedLink::{{{ExLink3|}}}]] {{{ExLink3Desc}}}
+
{{#if: {{{Notes|}}} | ==Additional Information==
</includeonly>
+
{{{Notes|}}}|}}<references/>[[Category:Wikipedia+ Pages]]</includeonly>
 
 
[[Category:WpPages]]
 

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.