User:Dan Nessett/Sandboxes/Sandbox 4: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Dan Nessett
No edit summary
imported>Dan Nessett
No edit summary
Line 1: Line 1:
{{r style2}}
<includeonly>{{{3|* }}}{{#ifeq:{{BASEPAGENAME}}|{{{1}}}
            |<!-- If on its own Related Articles subpage -->{{#if: {{{2|}}}
                  |{{ucfirst:{{{2}}}}}
                  |{{ucfirst:{{{1}}}}}}}
            |{{ {{#ifexpr: ({{Template:{{{1|}}}/Metadata|info=status}} >= 0) and ({{Template:{{{1|}}}/Metadata|info=status}} < = 5)
                  |<!-- If term has metadata -->{{#if: {{{2|}}}
                        |r style1
                        |r style2 }}
                  |<!-- If term has no metadata -->rpl style3}} |1={{{1|}}} |2={{{2|}}} }} <!--
 
***If not on its own Related Articles subpage the template will then add the [r] link and the definition (or comment) with the following code***
 
--><span class="plainlinks" style="font-size:0.8em;">{{#ifexist:{{{1}}}/Related Articles|[<nowiki></nowiki>[[{{{1}}}/Related Articles|{{H:title|Click on the ''r'' to display related articles!|r}}]]<nowiki></nowiki>]|[<nowiki></nowiki>[http://en.citizendium.org/wiki?action=edit&preload=Template%3ARelated_Articles_start&title={{urlencode:{{{1}}}}}/Related_Articles <font color=#8B0541>{{H:title|Click on the ''r'' to create the Related Articles page!|r}}</font>]<nowiki></nowiki>]}}</span>: {{ {{#ifexist: {{{1|}}} (disambiguation)
        |<!-- If term has a disambiguation page -->dabdef
        |{{#ifexist: {{{1|}}}/Definition
            |<!-- Has a definition but no disambig page -->Rpl def1
            |<!-- Neither a definition or a disambig page -->Rpl def3}} }}|1={{{1|}}} }} }}</includeonly><noinclude>{{TlDoc}}</noinclude>

Revision as of 09:56, 1 July 2010

No documentation has yet been written for this template. Create Documentation