Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
m (table bg)
m (Spacing)
Line 27: Line 27:
 
</pre>
 
</pre>
 
Edit the page to see the template text.</noinclude><includeonly>{{WpBadge}}
 
Edit the page to see the template text.</noinclude><includeonly>{{WpBadge}}
{| style="width: 16em; text-align:center; font-size: 166%; color: black; margin-bottom: 0em;  margin-left: 0em; float:left;"
+
{| style="width: 16em; text-align:center; font-size: 166%; color: black; margin-bottom: 0em;  margin-right: 0.66em; float:left;"
 
|-
 
|-
 
| {{#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: {{{WpIntro|}}} | {{{WpIntro}}}<hr/> |}}{{#if: {{{WsLink1|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink1|}}}]]</b> {{{WsLink1Desc|}}}<br/>}}
<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/>}}

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