Difference between revisions of "Template:Ref"

From comp.tf
Jump to navigation Jump to search
m (Undo revision 45457 by Garlic (talk))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<ref>[{{{1|{{{url|<noinclude>http://www.example.com/</noinclude>}}}}}} {{
+
<sup class="reference plainlinks nourlexpansion" {{#ifeq:{{{noid}}}|noid||id="ref_{{{1}}}"}}>{{#if:{{{2|}}}|[[#endnote_{{{1}}}|{{{2}}}]]|[{{fullurl:{{FULLPAGENAME}}}}#endnote_{{anchorencode:{{{1|}}}}}]}}</sup><noinclude>[https://en.wikipedia.org/wiki/Template:Ref]</noinclude>
  #if:{{{name-style|}}}
 
  |<span style="{{{name-style}}}">{{{2|{{{name|{{PAGENAME}}}}}}}}</span>
 
  |{{{2|{{{name|{{PAGENAME}}}}}}}}
 
}}]{{
 
  #if:{{{3|}}}{{{site|}}}
 
  |{{
 
    #if:{{{notext|}}}
 
    ||{{
 
        #if:{{{text-style|}}}
 
        |<span style="{{{text-style}}}">{{{text|&#32;at}}}</span>
 
        |{{{text|&#32;at}}}
 
      }}
 
  }} {{
 
    #if:{{{site-style|}}}
 
    |<span style="{{{site-style}}}">{{{3|{{{site}}}}}}</span>
 
    |{{{3|{{{site}}}}}}
 
  }}
 
}}{{
 
  #if:{{{official|}}}{{{language|}}}{{{registration|}}}{{{subscription|}}}{{{flash|}}}{{{plugin|}}}{{{requires|}}}
 
  |&#32;<span style="font-size:0.95em; font-weight:bold; color:#555; {{{requires-style|}}}">({{
 
    #if:{{{official|}}}
 
    |official website
 
  }}{{
 
    #if:{{{language|}}}
 
    |{{
 
      #if:{{{official|}}}
 
      |,&#32;
 
    }}in {{ISO 639 name|{{{language}}}}}
 
  }}{{
 
    #if:{{{registration|}}}
 
    |{{
 
      #if:{{{official|}}}{{{language|}}}
 
      |,&#32;
 
    }}requires registration
 
  }}{{
 
    #if:{{{subscription|}}}
 
    |{{
 
      #if:{{{official|}}}{{{language|}}}{{{registration|}}}
 
      |,&#32;
 
    }}requires subscription
 
  }}{{
 
    #if:{{{flash|}}}
 
    |{{
 
      #if:{{{official|}}}{{{language|}}}{{{registration|}}}{{{subscription|}}}
 
      |,&#32;
 
    }}requires [[Adobe Flash]]
 
  }}{{
 
    #if:{{{plugin|}}}
 
    |{{
 
      #if:{{{official|}}}{{{language|}}}{{{registration|}}}{{{subscription|}}}{{{flash|}}}
 
      |,&#32;
 
    }}requires [[Plug-in (computing)|plugin]]
 
  }}{{
 
    #if:{{{requires|}}}
 
    |{{
 
      #if:{{{official|}}}{{{language|}}}{{{registration|}}}{{{subscription|}}}{{{flash|}}}{{{plugin|}}}
 
      |,&#32;
 
    }}{{{requires}}}
 
  }})</span>
 
}}{{#if:{{{1|}}}{{{url|<noinclude>http://www.example.com/</noinclude>}}}
 
  ||{{error|Error: No {{para||url}} specified when using {{tl|{{{template|External link}}}}}[[Category:Pages with external link template errors|{{PAGENAME}}]]}}
 
}}
 
</ref><noinclude>[[Category:Template]][[Category:Templates]]{{documentation}}</noinclude>
 

Latest revision as of 01:27, 14 December 2023