Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
(handle spacing and remove WpPages category)
(Fix category link)
Line 6: Line 6:
 
{{WpPage
 
{{WpPage
 
|WpPageName=
 
|WpPageName=
|WpURL=
+
|WpURL= Wikipedia URL (Required)
 
|WpIntro=
 
|WpIntro=
|WsLink0= The Main WS Page
+
|WsLink0= The Main WS Page (Recommended)
 
|WsLink1=
 
|WsLink1=
 
|WsLink1Desc=
 
|WsLink1Desc=
Line 35: Line 35:
 
{{#if: {{{ExLink2|}}} |*<b>[[WpNsRelatedLink::{{{ExLink2|}}}|{{{ExLink2Name|}}}]]</b> {{{ExLink2Desc|}}}<br/>}}
 
{{#if: {{{ExLink2|}}} |*<b>[[WpNsRelatedLink::{{{ExLink2|}}}|{{{ExLink2Name|}}}]]</b> {{{ExLink2Desc|}}}<br/>}}
 
{{#if: {{{ExLink3|}}} |*<b>[[WpNsRelatedLink::{{{ExLink3|}}}|{{{ExLink3Name|}}}]]</b> {{{ExLink3Desc|}}}<br/>}}
 
{{#if: {{{ExLink3|}}} |*<b>[[WpNsRelatedLink::{{{ExLink3|}}}|{{{ExLink3Name|}}}]]</b> {{{ExLink3Desc|}}}<br/>}}
</includeonly><noinclude>
 
 
[[Category:WpPages]]
 
[[Category:WpPages]]
</noinclude>
+
</includeonly>

Revision as of 07:17, 7 August 2011


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:

{{WpPage
|WpPageName=
|WpURL= Wikipedia URL (Required)
|WpIntro=
|WsLink0= The Main WS Page (Recommended)
|WsLink1=
|WsLink1Desc=
|WsLink2=
|WsLink2Desc=
|WsLink3=
|WsLink3Desc=
|ExLink1=
|ExLink1Name=
|ExLink1Desc=
|ExLink2=
|ExLink2Name=
|ExLink2Desc=
|ExLink3=
|ExLink3Name=
|ExLink3Desc=
}}

Edit the page to see the template text.