Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
m
m (Increase #links possible)
Line 31: Line 31:
 
| {{#if: {{{WsLink0|}}} |style="background-color: #DFDFFF; "|}} | {{#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; "|}} | {{#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-->]]}}
 
| [[file:WpIcon32.png|24px]] '''[{{{WpURL}}} <font color="black">{{PAGENAME}}</font>]'''
 
| [[file:WpIcon32.png|24px]] '''[{{{WpURL}}} <font color="black">{{PAGENAME}}</font>]'''
|}{{{WpIntro}}}
+
|}{{#if: {{{WpIntro|}}} | {{{WpIntro}}}<hr/> |}}
<br/>=={{#if: {{{WsLink0|}}} |Other links|Links}} relevant to "''{{PAGENAME}}"''==
+
<br/>
 
{{#if: {{{WsLink1|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink1|}}}]]</b> {{{WsLink1Desc|}}}<br/>}}
 
{{#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: {{{WsLink5|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink5|}}}]]</b> {{{WsLink5Desc|}}}<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: {{{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/>}}
 
{{#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: {{{ExLink5|}}} |*<b>[[WpNsRelatedLink::{{{ExLink5|}}}|{{{ExLink5Name|}}}]]</b> {{{ExLink5Desc|}}}<br/>}}
 +
{{#if: {{{ExLink6|}}} |*<b>[[WpNsRelatedLink::{{{ExLink6|}}}|{{{ExLink6Name|}}}]]</b> {{{ExLink6Desc|}}}<br/>}}
 +
{{#if: {{{ExLink7|}}} |*<b>[[WpNsRelatedLink::{{{ExLink7|}}}|{{{ExLink7Name|}}}]]</b> {{{ExLink7Desc|}}}<br/>}}
 +
{{#if: {{{ExLink8|}}} |*<b>[[WpNsRelatedLink::{{{ExLink8|}}}|{{{ExLink8Name|}}}]]</b> {{{ExLink8Desc|}}}<br/>}}
 +
{{#if: {{{ExLink9|}}} |*<b>[[WpNsRelatedLink::{{{ExLink9|}}}|{{{ExLink9Name|}}}]]</b> {{{ExLink9Desc|}}}<br/>}}
 
[[Category:WpPages]]
 
[[Category:WpPages]]
 
</includeonly>
 
</includeonly>

Revision as of 08:05, 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.