Difference between revisions of "Template:Cp"
Jump to navigation
Jump to search
m (Reverted edits by Jones, M.D. (Talk) to last version by Edgerunner76) |
Armondikov (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | {{#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>}} | + | </div></div>}}<noinclude>{{doc}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Revision as of 17:28, 22 May 2010
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.