Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
(Test icon link)
(Test icon link)
Line 36: Line 36:
 
<br/><hr/>
 
<br/><hr/>
 
{{#if: {{{WsLink1|}}} |[https://wikispooks.com/w/{{{WsLink1}}} https://wikispooks.com/w/images/7/7b/WsIcon32.png] <b>[[WpNsRelatedPage::{{{WsLink1}}}]]</b> {{{WsLink1Desc|}}}<br/>|}}
 
{{#if: {{{WsLink1|}}} |[https://wikispooks.com/w/{{{WsLink1}}} https://wikispooks.com/w/images/7/7b/WsIcon32.png] <b>[[WpNsRelatedPage::{{{WsLink1}}}]]</b> {{{WsLink1Desc|}}}<br/>|}}
 +
[[Image:WsIcon32.png|16px |link={{{WsLink2}}} |alt={{{WsLink2}}}]]
 
{{#if: {{{WsLink2|}}} |<a href="https://wikispooks.com/w/{{{WsLink2}}}">https://wikispooks.com/w/images/7/7b/WsIcon32.png</a> <b>[[WpNsRelatedPage::{{{WsLink2}}}]]</b> {{{WsLink2Desc|}}}<br/>|}}
 
{{#if: {{{WsLink2|}}} |<a href="https://wikispooks.com/w/{{{WsLink2}}}">https://wikispooks.com/w/images/7/7b/WsIcon32.png</a> <b>[[WpNsRelatedPage::{{{WsLink2}}}]]</b> {{{WsLink2Desc|}}}<br/>|}}
 
{{#if: {{{WsLink2|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink2}}}]]</b> {{{WsLink2Desc|}}}<br/>|}}
 
{{#if: {{{WsLink2|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink2}}}]]</b> {{{WsLink2Desc|}}}<br/>|}}

Revision as of 14:34, 24 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=
...
|WsLink9=
|WsLink9Desc=
|ExLink1=
|ExLink1Name=
|ExLink1Desc=
|ExLink2=
|ExLink2Name=
|ExLink2Desc=
...
|ExLink9=
|ExLink9Name=
|ExLink9Desc=
}}

Edit the page to see the template text.