Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
(Trim whitespace, still needs work)
Line 43: Line 43:
 
{{#if: {{{WsLink7|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink7}}} |alt={{{WsLink7}}}]] <b>[[WpNsRelatedPage::{{{WsLink7}}}]]</b> {{{WsLink7Desc|}}}<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: {{{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/>|}}
+
{{#if: {{{WsLink9|}}} |[[Image:WsIcon32.png|16px |link={{{WsLink9}}} |alt={{{WsLink9}}}]] <b>[[WpNsRelatedPage::{{{WsLink9}}}]]</b> {{{WsLink9Desc|}}}<br/>|}}<!-- WHY THE WHITESPACE? -->{{#if: {{{ExLink1|}}} |*<b>[[WpNsRelatedLink::{{{ExLink1|}}}|{{{ExLink1Name|}}}]]</b> {{{ExLink1Desc|}}}<br/>|}}{{#if: {{{ExLink2|}}} |*<b>[[WpNsRelatedLink::{{{ExLink2|}}}|{{{ExLink2Name|}}}]]</b> {{{ExLink2Desc|}}}<br/>|}}
 
 
{{#if: {{{ExLink1|}}} |*<b>[[WpNsRelatedLink::{{{ExLink1|}}}|{{{ExLink1Name|}}}]]</b> {{{ExLink1Desc|}}}<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/>|}}
 
{{#if: {{{ExLink4|}}} |*<b>[[WpNsRelatedLink::{{{ExLink4|}}}|{{{ExLink4Name|}}}]]</b> {{{ExLink4Desc|}}}<br/>|}}
 
{{#if: {{{ExLink4|}}} |*<b>[[WpNsRelatedLink::{{{ExLink4|}}}|{{{ExLink4Name|}}}]]</b> {{{ExLink4Desc|}}}<br/>|}}
Line 53: Line 50:
 
{{#if: {{{ExLink7|}}} |*<b>[[WpNsRelatedLink::{{{ExLink7|}}}|{{{ExLink7Name|}}}]]</b> {{{ExLink7Desc|}}}<br/>|}}
 
{{#if: {{{ExLink7|}}} |*<b>[[WpNsRelatedLink::{{{ExLink7|}}}|{{{ExLink7Name|}}}]]</b> {{{ExLink7Desc|}}}<br/>|}}
 
{{#if: {{{ExLink8|}}} |*<b>[[WpNsRelatedLink::{{{ExLink8|}}}|{{{ExLink8Name|}}}]]</b> {{{ExLink8Desc|}}}<br/>|}}
 
{{#if: {{{ExLink8|}}} |*<b>[[WpNsRelatedLink::{{{ExLink8|}}}|{{{ExLink8Name|}}}]]</b> {{{ExLink8Desc|}}}<br/>|}}
{{#if: {{{ExLink9|}}} |*<b>[[WpNsRelatedLink::{{{ExLink9|}}}|{{{ExLink9Name|}}}]]</b> {{{ExLink9Desc|}}}<br/>|}}
+
{{#if: {{{ExLink9|}}} |*<b>[[WpNsRelatedLink::{{{ExLink9|}}}|{{{ExLink9Name|}}}]]</b> {{{ExLink9Desc|}}}<br/>|}}[[Category:WpPages]]</includeonly>
[[Category:WpPages]]
 
</includeonly>
 

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