Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
(width)
(whitespace)
Line 33: Line 33:
 
| {{#if: {{{WsLink0|}}} |style="background-color: #DFDFFF; border: 1px solid #aaaaaa; padding: 0.4em; "|}} | {{#if: {{{WsLink0|}}} | [[file:WsIcon32.png|24px]] <!--[https://www.WikiSpooks.com/{{{WsLink0}}} https://wikispooks.com/w/images/7/7b/WsIcon32.png] --> [[{{{WsLink0}}}| '''{{{WsLink0}}}'''<!-- - Main Wikispooks Page-->]]}}
 
| {{#if: {{{WsLink0|}}} |style="background-color: #DFDFFF; border: 1px solid #aaaaaa; padding: 0.4em; "|}} | {{#if: {{{WsLink0|}}} | [[file:WsIcon32.png|24px]] <!--[https://www.WikiSpooks.com/{{{WsLink0}}} https://wikispooks.com/w/images/7/7b/WsIcon32.png] --> [[{{{WsLink0}}}| '''{{{WsLink0}}}'''<!-- - Main Wikispooks Page-->]]}}
 
|style="border: 1px solid #aaaaaa; padding: 0.4em; "| [[file:WpIcon32.png|24px]] '''[{{{WpURL}}} <font color="black">{{PAGENAME}}</font>]'''
 
|style="border: 1px solid #aaaaaa; padding: 0.4em; "| [[file:WpIcon32.png|24px]] '''[{{{WpURL}}} <font color="black">{{PAGENAME}}</font>]'''
|}{{#if: {{{WpIntro|}}} | {{{WpIntro}}}<hr/> |}}{{#if: {{{WsLink1|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink1|}}}]]</b> {{{WsLink1Desc|}}}<br/>}}
+
|}{{#if: {{{WpIntro|}}} | {{{WpIntro}}}<hr/> |}}{{#if: {{{WsLink1|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink1|}}}]]</b> {{{WsLink1Desc|}}}<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/>|}}
{{#if: {{{WsLink3|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink3|}}}]]</b> {{{WsLink3Desc|}}}<br/>}}
+
{{#if: {{{WsLink3|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink3|}}}]]</b> {{{WsLink3Desc|}}}<br/>|}}
{{#if: {{{WsLink4|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink4|}}}]]</b> {{{WsLink4Desc|}}}<br/>}}
+
{{#if: {{{WsLink4|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink4|}}}]]</b> {{{WsLink4Desc|}}}<br/>|}}
{{#if: {{{WsLink5|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink5|}}}]]</b> {{{WsLink5Desc|}}}<br/>}}
+
{{#if: {{{WsLink5|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink5|}}}]]</b> {{{WsLink5Desc|}}}<br/>|}}
{{#if: {{{WsLink6|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink6|}}}]]</b> {{{WsLink6Desc|}}}<br/>}}
+
{{#if: {{{WsLink6|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink6|}}}]]</b> {{{WsLink6Desc|}}}<br/>|}}
{{#if: {{{WsLink7|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink7|}}}]]</b> {{{WsLink7Desc|}}}<br/>}}
+
{{#if: {{{WsLink7|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink7|}}}]]</b> {{{WsLink7Desc|}}}<br/>|}}
{{#if: {{{WsLink8|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink8|}}}]]</b> {{{WsLink8Desc|}}}<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: {{{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/>|}}
{{#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/>|}}
{{#if: {{{ExLink5|}}} |*<b>[[WpNsRelatedLink::{{{ExLink5|}}}|{{{ExLink5Name|}}}]]</b> {{{ExLink5Desc|}}}<br/>}}
+
{{#if: {{{ExLink5|}}} |*<b>[[WpNsRelatedLink::{{{ExLink5|}}}|{{{ExLink5Name|}}}]]</b> {{{ExLink5Desc|}}}<br/>|}}
{{#if: {{{ExLink6|}}} |*<b>[[WpNsRelatedLink::{{{ExLink6|}}}|{{{ExLink6Name|}}}]]</b> {{{ExLink6Desc|}}}<br/>}}
+
{{#if: {{{ExLink6|}}} |*<b>[[WpNsRelatedLink::{{{ExLink6|}}}|{{{ExLink6Name|}}}]]</b> {{{ExLink6Desc|}}}<br/>|}}
{{#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]]
 
[[Category:WpPages]]
 
</includeonly>
 
</includeonly>

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

Edit the page to see the template text.