Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
(table for main 2 links)
(box backcolor)
Line 28: Line 28:
 
Edit the page to see the template text.</noinclude><includeonly>{{WpBadge}}{{#if: {{{WpIntro|}}} |{{{WpIntro|}}}<br/>|}}
 
Edit the page to see the template text.</noinclude><includeonly>{{WpBadge}}{{#if: {{{WpIntro|}}} |{{{WpIntro|}}}<br/>|}}
  
{| style="width: 16em; text-align:center; font-size: 160%; border: 1px solid #aaaaaa; background-color: #DFDFFF; color: black; margin-bottom: 0.5em;  margin-left: 1em; padding: 0.2em; float: right; clear: right;"
+
{| style="width: 16em; text-align:center; font-size: 160%; border: 1px solid #aaaaaa; color: black; margin-bottom: 0.5em;  margin-left: 1em; padding: 0.2em;"
 
|-
 
|-
| {{#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="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>]'''
 
|}
 
|}

Revision as of 07:24, 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.