Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
(Test icon link)
Line 35: Line 35:
 
|}{{WpBadge}}{{#if: {{{WpIntro|}}} | {{{WpIntro}}} |<br/><br/>}}
 
|}{{WpBadge}}{{#if: {{{WpIntro|}}} | {{{WpIntro}}} |<br/><br/>}}
 
<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|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink1}}} |alt={{{WsLink1}}}]] <b>[[WpNsRelatedPage::{{{WsLink1}}}]]</b> {{{WsLink1Desc|}}}<br/>|}}
[[Image:WsIcon32.png|16px |link={{{WsLink2}}} |alt={{{WsLink2}}}]]
+
{{#if: {{{WsLink2|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink2}}} |alt={{{WsLink2}}}]] <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: {{{WsLink3|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink3}}} |alt={{{WsLink3}}}]] <b>[[WpNsRelatedPage::{{{WsLink3}}}]]</b> {{{WsLink3Desc|}}}<br/>|}}
{{#if: {{{WsLink2|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink2}}}]]</b> {{{WsLink2Desc|}}}<br/>|}}
+
{{#if: {{{WsLink4|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink4}}} |alt={{{WsLink4}}}]] <b>[[WpNsRelatedPage::{{{WsLink4}}}]]</b> {{{WsLink4Desc|}}}<br/>|}}
{{#if: {{{WsLink3|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink3}}}]]</b> {{{WsLink3Desc|}}}<br/>|}}
+
{{#if: {{{WsLink5|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink5}}} |alt={{{WsLink5}}}]] <b>[[WpNsRelatedPage::{{{WsLink5}}}]]</b> {{{WsLink5Desc|}}}<br/>|}}
{{#if: {{{WsLink4|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink4}}}]]</b> {{{WsLink4Desc|}}}<br/>|}}
+
{{#if: {{{WsLink6|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink6}}} |alt={{{WsLink6}}}]] <b>[[WpNsRelatedPage::{{{WsLink6}}}]]</b> {{{WsLink6Desc|}}}<br/>|}}
{{#if: {{{WsLink5|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink5}}}]]</b> {{{WsLink5Desc|}}}<br/>|}}
+
{{#if: {{{WsLink7|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink7}}} |alt={{{WsLink7}}}]] <b>[[WpNsRelatedPage::{{{WsLink7}}}]]</b> {{{WsLink7Desc|}}}<br/>|}}
{{#if: {{{WsLink6|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink6}}}]]</b> {{{WsLink6Desc|}}}<br/>|}}
+
{{#if: {{{WsLink8|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink8}}} |alt={{{WsLink8}}}]] <b>[[WpNsRelatedPage::{{{WsLink8}}}]]</b> {{{WsLink8Desc|}}}<br/>|}}
{{#if: {{{WsLink7|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink7}}}]]</b> {{{WsLink7Desc|}}}<br/>|}}
+
{{#if: {{{WsLink9|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink9}}} |alt={{{WsLink9}}}]] <b>[[WpNsRelatedPage::{{{WsLink9}}}]]</b> {{{WsLink9Desc|}}}<br/>|}}
{{#if: {{{WsLink8|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink8}}}]]</b> {{{WsLink8Desc|}}}<br/>|}}
+
 
{{#if: {{{WsLink9|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink9}}}]]</b> {{{WsLink9Desc|}}}<br/>|}}
 
 
{{#if: {{{ExLink1|}}} |*<b>[[WpNsRelatedLink::{{{ExLink1|}}}|{{{ExLink1Name|}}}]]</b> {{{ExLink1Desc|}}}<br/>|}}
 
{{#if: {{{ExLink1|}}} |*<b>[[WpNsRelatedLink::{{{ExLink1|}}}|{{{ExLink1Name|}}}]]</b> {{{ExLink1Desc|}}}<br/>|}}
 
{{#if: {{{ExLink2|}}} |*<b>[[WpNsRelatedLink::{{{ExLink2|}}}|{{{ExLink2Name|}}}]]</b> {{{ExLink2Desc|}}}<br/>|}}
 
{{#if: {{{ExLink2|}}} |*<b>[[WpNsRelatedLink::{{{ExLink2|}}}|{{{ExLink2Name|}}}]]</b> {{{ExLink2Desc|}}}<br/>|}}

Revision as of 14:41, 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.