Difference between revisions of "Template:Cp"

From RationalWiki
Jump to: navigation, search
m (Reverted edits by Jones, M.D. (Talk) to last version by Edgerunner76)
Line 1: Line 1:
<includeonly>{{#ifeq:{{Conservapedia:Boycott/Switch}}|On||<div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; spacing: 0px; text-align: left; float: right;">
+
{{#ifeq:{{Conservapedia:Boycott/Switch}}|On||<div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; spacing: 0px; text-align: left; float: right; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;">
 
<div style="float: left;"> [[Image:Conservlogo late april.png|60px]]</div>
 
<div style="float: left;"> [[Image:Conservlogo late april.png|60px]]</div>
 
<div style="margin-left: 60px;"><center>For those living in an alternate reality, ''[[Conservapedia]]'' has an "article" about {{ #if:  {{{1|}}} | [[cp:{{{1}}}|{{ #if: {{{2|}}} | {{{2}}} | {{PAGENAME}} }}]] | [[cp:{{PAGENAME}}|{{ #if: {{{2|}}} | {{{2}}} | {{PAGENAME}} }}]] }}</center>
 
<div style="margin-left: 60px;"><center>For those living in an alternate reality, ''[[Conservapedia]]'' has an "article" about {{ #if:  {{{1|}}} | [[cp:{{{1}}}|{{ #if: {{{2|}}} | {{{2}}} | {{PAGENAME}} }}]] | [[cp:{{PAGENAME}}|{{ #if: {{{2|}}} | {{{2}}} | {{PAGENAME}} }}]] }}</center>
</div></div>}}</includeonly><noinclude>
+
</div></div>}}<noinclude>{{doc}}
 
 
Usage: <nowiki>{{cp}}</nowiki> when the filename there is exactly the same as here.
 
 
 
or
 
 
 
Usage: <nowiki>{{cp|</nowiki>''filename at CP''<nowiki>}}</nowiki> when the filename there is different.
 
 
 
or
 
 
 
Usage: <nowiki>{{cp|</nowiki>''filename at CP''|''title''<nowiki>}}</nowiki> or <nowiki>{{cp|2=</nowiki>''title''<nowiki>}}</nowiki> when you want to display a different title. By default the displayed title will be the title of the article here.
 
 
 
 
</noinclude>
 
</noinclude>

Revision as of 17:28, 22 May 2010

Conservlogo late april.png
For those living in an alternate reality, Conservapedia has an "article" about Cp

[edit] [purge] Documentation

Usage

  • {{cp}} when the filename there is exactly the same as here.
  • {{cp|filename at CP}} when the filename there is different.
  • {{cp|filename at CP|title}} or {{cp|2=title}} when you want to display a different title. By default the displayed title will be the title of the article here.