Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
Line 47: Line 47:
 
{{#if: {{{WsLink0|}}} |[[file:WsIcon32.png|16px]] [[{{{WsLink0}}}| <big>'''{{{WsLink0}}}''' - Main Wikispooks Page</big>]]}}
 
{{#if: {{{WsLink0|}}} |[[file:WsIcon32.png|16px]] [[{{{WsLink0}}}| <big>'''{{{WsLink0}}}''' - Main Wikispooks Page</big>]]}}
 
{{#if: {{{WsLink1|}}} {{{WsLink2|}}} {{{WsLink3|}}} |====Wikispooks hosted====
 
{{#if: {{{WsLink1|}}} {{{WsLink2|}}} {{{WsLink3|}}} |====Wikispooks hosted====
{{#if: {{{WsLink1|}}} *<b>[[WpNsRelatedPage::{{{WsLink1|}}}]]</b> {{{WsLink1Desc|}}}<br/>}}
+
{{#if: {{{WsLink1|}}} |*<b>[[WpNsRelatedPage::{{{WsLink1|}}}]]</b> {{{WsLink1Desc|}}}<br/>}}
{{#if: {{{WsLink2|}}} :<b>[[WpNsRelatedPage::{{{WsLink2|}}}]]</b> {{{WsLink2Desc|}}}<br/>}}
+
{{#if: {{{WsLink2|}}} |:<b>[[WpNsRelatedPage::{{{WsLink2|}}}]]</b> {{{WsLink2Desc|}}}<br/>}}
{{#if: {{{WsLink3|}}} :<b>[[WpNsRelatedPage::{{{WsLink3|}}}]]</b> {{{WsLink3Desc|}}} }} |}}
+
{{#if: {{{WsLink3|}}} |:<b>[[WpNsRelatedPage::{{{WsLink3|}}}]]</b> {{{WsLink3Desc|}}} }} |}}
  
 
{{#if: {{{ExLink1|}}} {{{ExLink2|}}} {{{ExLink3|}}} |====Externally hosted====
 
{{#if: {{{ExLink1|}}} {{{ExLink2|}}} {{{ExLink3|}}} |====Externally hosted====
{{#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|}}} }} |}}  
+
{{#if: {{{ExLink3|}}} |:<b>[[WpNsRelatedLink::{{{ExLink3|}}}|{{{ExLink3Name|}}}]]</b> {{{ExLink3Desc|}}} }} |}}  
  
 
</includeonly>
 
</includeonly>
  
 
[[Category:WpPages]]
 
[[Category:WpPages]]

Revision as of 05:28, 6 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=
|WpIntro=
|WsLink0= The Main WS Page
|WsLink1=
|WsLink1Desc=
|WsLink2=
|WsLink2Desc=
|WsLink3=
|WsLink3Desc=
|ExLink1=
|ExLink1Name=
|ExLink1Desc=
|ExLink2=
|ExLink2Name=
|ExLink2Desc=
|ExLink3=
|ExLink3Name=
|ExLink3Desc=
}}

Edit the page to see the template text.