Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
(Handle case of long page titles)
(Always <hr/>)
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>]'''
|}{{WpBadge}}{{#if: {{{WpIntro|}}} | {{{WpIntro}}}<hr/> |}}
+
|}{{WpBadge}}{{#if: {{{WpIntro|}}} | {{{WpIntro}}} |}}
 +
<hr/>
 
{{#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/>|}}

Revision as of 10:17, 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.