Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
m (Fix)
m (Text replacement - "{{WpBadge}}" to "")
 
(131 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
__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>
__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>
 
 
{{WpPage
 
{{WpPage
 
|WpPageName=
 
|WpPageName=
|WpURL=
+
|WpURL= Wikipedia URL (Required)
|WpIntro=
+
|WpIntro=Quick description of the Wikipedia Page Problems (Strongly Recommended)
|WsLink0= The Main WS Page
+
|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 21: 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>
 
{{WpBadge}}
 
  
{{#if: {{{WpIntro|}}} |{{{WpIntro|}}}<br/>|}}
+
{| style="text-align:left; font-size: 166%; color: black; margin-bottom: 0em;  margin-right: 0.66em; float:left;"
{{#if: {{{WsLink0|}}} |[[file:WsIcon32.png|24px]] <!--[https://www.WikiSpooks.com/{{{WsLink0}}} https://wikispooks.com/w/images/7/7b/WsIcon32.png]--> [[{{{WsLink0}}}| <big><big>'''{{{WsLink0}}}'''<!-- - Main Wikispooks Page--></big></big><br/>]]}}
+
|-
[[file:WpIcon32.png|24px]] <big><big>'''[{{{WpURL}}} |{{PAGENAME}}]'''</big></big><br/>]]
+
| {{#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|}}} |Other links|Links}} relevant to "''{{PAGENAME}}"''==
+
|-
{{#if: {{{WsLink1|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink1|}}}]]</b> {{{WsLink1Desc|}}}<br/>}}
+
|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> }}'''
{{#if: {{{WsLink2|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink2|}}}]]</b> {{{WsLink2Desc|}}}<br/>}}
+
|}<br/><br/><br/><br/><br/>
{{#if: {{{WsLink3|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink3|}}}]]</b> {{{WsLink3Desc|}}}<br/>}}
+
<!-- We face issues with escaping '|' characters :!... -->
{{#if: {{{ExLink1|}}} |*<b>[[WpNsRelatedLink::{{{ExLink1|}}}|{{{ExLink1Name|}}}]]</b> {{{ExLink1Desc|}}}<br/>}}
+
{{WPProblems|details={{{WpIntro|}}}|bias={{{WPBias|}}}|censored={{{WPCensored|}}}|gaps={{{WPGaps|}}}|newsprint={{{WPNewsprint|}}}|twisted={{{WPTwisted|}}}|unclear={{{WPUnclear|}}} }}
{{#if: {{{ExLink2|}}} |*<b>[[WpNsRelatedLink::{{{ExLink2|}}}|{{{ExLink2Name|}}}]]</b> {{{ExLink2Desc|}}}<br/>}}
+
{{{WsDesc|}}}
{{#if: {{{ExLink3|}}} |*<b>[[WpNsRelatedLink::{{{ExLink3|}}}|{{{ExLink3Name|}}}]]</b> {{{ExLink3Desc|}}}<br/>}}
+
==Related Wikispooks Pages==
</includeonly>
+
{{#ifeq: {{{Stub|}}}|Yes|{{WpStub}}<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/>|}}
[[Category:WpPages]]
+
{{#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.