Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "{{WpBadge}}" to "")
 
(156 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOEDITSECTION__
+
__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>
<noinclude>
 
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=
+
|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=
 
|ExLink1Name=
Line 19: Line 26:
 
|ExLink2Name=
 
|ExLink2Name=
 
|ExLink2Desc=
 
|ExLink2Desc=
|ExLink3=
+
...
|ExLink3Name=
+
|ExLink9=
|ExLink3Desc=
+
|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: 25em; 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:#DFDFFF; padding:0.5em 0.5em;" colspan="2" |[[File:WikipediaPlus.png|40px]]<br/>This is a [[Project:Wikipedia+ Pages|Wikipedia+]] page.
 
|-
 
| style="text-align:center;" colspan="2"|''It's purpose is to provide links and further information relevant to the Wikipedia page detailed below''. <br/>&nbsp;
 
|-
 
! Name:
 
| [[IsWpPage::{{{WpPageName|}}}]]
 
 
|-
 
|-
! url:  
+
| {{#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}}}]]'''|}}
| [[IsWpURL::{{{WpURL|}}}]]<br/>&nbsp;
 
 
|-
 
|-
|style="text-align: center; background-color:#DFDFFF; padding:0.5em 0.5em;" colspan="2" | [[Project:Wikipedia+|Wikipedia+]]<br/>[[WikiSpooks:Wikipedia+ Page List|Wikipedia+ pages list]]<br/>[[Form:WpPage|Create a Wikipedia+ Page]]
+
|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/>
 
+
<!-- We face issues with escaping '|' characters :!... -->
{{WpIntro|}}
+
{{WPProblems|details={{{WpIntro|}}}|bias={{{WPBias|}}}|censored={{{WPCensored|}}}|gaps={{{WPGaps|}}}|newsprint={{{WPNewsprint|}}}|twisted={{{WPTwisted|}}}|unclear={{{WPUnclear|}}} }}
 
+
{{{WsDesc|}}}
==Links relevant to Wikipedia page "''{{PAGENAME}}"''==
+
==Related Wikispooks Pages==
====Wikispooks hosted====
+
{{#ifeq: {{{Stub|}}}|Yes|{{WpStub}}<br/>|}}
:<b>[[WpNsRelatedPage::{{{WsLink1|}}}]]</b> {{{WsLink1Desc|}}}<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/>|}}
:<b>[[WpNsRelatedPage::{{{WsLink2|}}}]]</b> {{{WsLink2Desc|}}}<br/>
+
{{#if: {{{ExLink1|}}} |<br/>
:<b>[[WpNsRelatedPage::{{{WsLink3|}}}]]</b> {{{WsLink3Desc|}}}
+
==External Links==
 
+
*<b>[{{{ExLink1|}}} {{{ExLink1Name|}}}]</b> - {{{ExLink1Desc|}}}<br/>|}}
====Externally hosted====
+
{{#if: {{{ExLink2|}}} |*<b>[{{{ExLink2|}}} {{{ExLink2Name|}}}]</b> - {{{ExLink2Desc|}}}<br/>|}}
:<b>[[WpNsRelatedLink::{{{ExLink1|}}}|{{{ExLink1Name|}}}]]</b> {{{ExLink1Desc|}}}<br/>
+
{{#if: {{{ExLink3|}}} |*<b>[{{{ExLink3|}}} {{{ExLink3Name|}}}]</b> - {{{ExLink3Desc|}}}<br/>|}}
:<b>[[WpNsRelatedLink::{{{ExLink2|}}}|{{{ExLink2Name|}}}]]</b> {{{ExLink2Desc|}}}<br/>
+
{{#if: {{{ExLink4|}}} |*<b>[{{{ExLink4|}}} {{{ExLink4Name|}}}]</b> - {{{ExLink4Desc|}}}<br/>|}}
:<b>[[WpNsRelatedLink::{{{ExLink3|}}}|{{{ExLink3Name|}}}]]</b> {{{ExLink3Desc|}}}
+
{{#if: {{{ExLink5|}}} |*<b>[{{{ExLink5|}}} {{{ExLink5Name|}}}]</b> - {{{ExLink5Desc|}}}<br/>|}}
 
+
{{#if: {{{ExLink6|}}} |*<b>[{{{ExLink6|}}} {{{ExLink6Name|}}}]</b> - {{{ExLink6Desc|}}}<br/>|}}
</includeonly>
+
{{#if: {{{ExLink7|}}} |*<b>[{{{ExLink7|}}} {{{ExLink7Name|}}}]</b> - {{{ExLink7Desc|}}}<br/>|}}
 
+
{{#if: {{{ExLink8|}}} |*<b>[{{{ExLink8|}}} {{{ExLink8Name|}}}]</b> - {{{ExLink8Desc|}}}<br/>|}}
[[Category:WpPages]]
+
{{#if: {{{ExLink9|}}} |*<b>[{{{ExLink9|}}} {{{ExLink9Name|}}}]</b> - {{{ExLink9Desc|}}}<br/>|}}
 +
{{#if: {{{Notes|}}} | ==Additional Information==
 +
{{{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.