Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "WpPage" template. It should be called in the following format: <pre> {{WpPage |WpPageName= |WpURL= }} </pre> Edit the page to see the template text. </no...")
 
m (Text replacement - "{{WpBadge}}" to "")
 
(259 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 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=
 +
|WsLink1Desc=
 +
|WsLink2=
 +
|WsLink2Desc=
 +
...
 +
|WsLink9=
 +
|WsLink9Desc=
 +
|ExLink1=
 +
|ExLink1Name=
 +
|ExLink1Desc=
 +
|ExLink2=
 +
|ExLink2Name=
 +
|ExLink2Desc=
 +
...
 +
|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" |<big>{{PAGENAME}}</big>
 
 
|-
 
|-
! Page Name
+
| {{#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}}}]]'''|}}
| [[IsWpPage::{{{WpPageName|}}}]]
 
 
|-
 
|-
! Wikipedia url
+
|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> }}'''
| [[IsWpURL::{{{WpURL|}}}]]
+
|}<br/><br/><br/><br/><br/>
|-
+
<!-- We face issues with escaping '|' characters :!... -->
! WikiPedia Pages
+
{{WPProblems|details={{{WpIntro|}}}|bias={{{WPBias|}}}|censored={{{WPCensored|}}}|gaps={{{WPGaps|}}}|newsprint={{{WPNewsprint|}}}|twisted={{{WPTwisted|}}}|unclear={{{WPUnclear|}}} }}
| {{#ask:[[IsWpPage::{{SUBJECTPAGENAME}}]]|format=list}}
+
{{{WsDesc|}}}
|}
+
==Related Wikispooks Pages==
 
+
{{#ifeq: {{{Stub|}}}|Yes|{{WpStub}}<br/>|}}
[[Category:WpPages]]
+
{{#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/>|}}
</includeonly>
+
{{#if: {{{ExLink1|}}} |<br/>
 +
==External Links==
 +
*<b>[{{{ExLink1|}}} {{{ExLink1Name|}}}]</b> - {{{ExLink1Desc|}}}<br/>|}}
 +
{{#if: {{{ExLink2|}}} |*<b>[{{{ExLink2|}}} {{{ExLink2Name|}}}]</b> - {{{ExLink2Desc|}}}<br/>|}}
 +
{{#if: {{{ExLink3|}}} |*<b>[{{{ExLink3|}}} {{{ExLink3Name|}}}]</b> - {{{ExLink3Desc|}}}<br/>|}}
 +
{{#if: {{{ExLink4|}}} |*<b>[{{{ExLink4|}}} {{{ExLink4Name|}}}]</b> - {{{ExLink4Desc|}}}<br/>|}}
 +
{{#if: {{{ExLink5|}}} |*<b>[{{{ExLink5|}}} {{{ExLink5Name|}}}]</b> - {{{ExLink5Desc|}}}<br/>|}}
 +
{{#if: {{{ExLink6|}}} |*<b>[{{{ExLink6|}}} {{{ExLink6Name|}}}]</b> - {{{ExLink6Desc|}}}<br/>|}}
 +
{{#if: {{{ExLink7|}}} |*<b>[{{{ExLink7|}}} {{{ExLink7Name|}}}]</b> - {{{ExLink7Desc|}}}<br/>|}}
 +
{{#if: {{{ExLink8|}}} |*<b>[{{{ExLink8|}}} {{{ExLink8Name|}}}]</b> - {{{ExLink8Desc|}}}<br/>|}}
 +
{{#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.