Difference between revisions of "Template:IBD1915"

From blackwiki
Jump to navigation Jump to search
imported>PBS
(fix category name)
imported>Trappist the monk
(sync from sandbox;)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{hide in print|1=
+
{{#if:{{{noicon|{{{no-icon|}}}}}}||{{#if:{{{wstitle|}}}|[[File:Wikisource-logo.svg|12px|class=noviewer|alt=Wikisource]]|[[File:PD-icon.svg|12px|alt=Public Domain]]}}&nbsp;}}<!--Sort out the lead string
<!--
+
-->{{#if:{{{no-prescript|}}}||{{#if:{{{inline|}}}|One or more of the preceding sentences|This article}}&nbsp;incorporates text from a publication now in the [[public domain]]:&nbsp;}}<!--no white space
sort out the icon to use
+
 
-->{{#if: {{{noicon|{{{no-icon|}}}<!--noicon-->}}} |<!--eq to empty-->
+
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite IBD1915
    |<!--then-->{{#ifeq: {{{wstitle|}}} |<!--eq to empty-->
+
    |_exclude=inline, noicon, no-icon, no-prescript, _debug
                |<!--then-->{{#ifeq: {{{1|}}}|<!--eq to empty-->
 
                              |<!--then-->[[File:PD-icon.svg|12px|alt=Public Domain]]&nbsp;
 
                              |<!--else-->[[File:Wikisource-logo.svg|12px|class=noviewer|alt=Wikisource]]&nbsp;
 
                            }}
 
                |<!--else-->[[File:Wikisource-logo.svg|12px|class=noviewer|link=|alt=]]&nbsp;
 
                }}
 
  }}
 
}}<!--Sort out the lead string
 
-->{{#ifeq: {{{no-prescript|{{{noprescript|}}}<!---->}}} |<!--eq to empty-->
 
    |<!--then display a prescript-->{{#ifeq: {{{inline|{{{footnote|}}}<!--inline-->}}} |<!--eq to empty-->
 
                                    |<!--then display-->This article
 
                                    |<!--else display-->One or more of the preceding sentences
 
                                    }}<!-- no white space
 
  -->&nbsp;incorporates text from a publication now in the [[public domain]]:&nbsp;
 
  }}<!--no white space
 
-->{{Cite IBD1915
 
 
     | noicon=1
 
     | noicon=1
    |{{#if:{{{first|}}}  |first  |HIDE_PARAMETER1}}={{{first|}}}
+
}}<!-- no white space
    |{{#if:{{{first1|}}} |first1 |HIDE_PARAMETER2}}={{{first1|}}}
 
    |{{#if:{{{first2|}}} |first2 |HIDE_PARAMETER3}}={{{first2|}}}
 
    |{{#if:{{{first3|}}} |first3 |HIDE_PARAMETER4}}={{{first3|}}}
 
 
 
    |{{#if:{{{last|}}}  |last  |HIDE_PARAMETER5}}={{{last|}}}
 
    |{{#if:{{{last1|}}}  |last1  |HIDE_PARAMETER6}}={{{last1|}}}
 
    |{{#if:{{{last2|}}}  |last2  |HIDE_PARAMETER7}}={{{last2|}}}
 
    |{{#if:{{{last3|}}}  |last3  |HIDE_PARAMETER8}}={{{last3|}}}
 
 
 
    |{{#if:{{{author |}}} |author  |HIDE_PARAMETER9}}={{{author|}}}
 
    |{{#if:{{{author1|}}} |author1 |HIDE_PARAMETERa}}={{{author1|}}}
 
    |{{#if:{{{author2|}}} |author2 |HIDE_PARAMETERb}}={{{author2|}}}
 
    |{{#if:{{{author3|}}} |author3 |HIDE_PARAMETERc}}={{{author3|}}}
 
    |{{#if:{{{authors|}}} |authors |HIDE_PARAMETERd}}={{{authors|}}}
 
    |{{#if:{{{author-link|}}} |authorlink |HIDE_PARAMETERe1}}={{{author-link|}}}
 
    |{{#if:{{{authorlink|}}}  |authorlink |HIDE_PARAMETERe2}}={{{authorlink|}}}
 
    |{{#if:{{{author2-link|}}}|author2link |HIDE_PARAMETERe3}}={{{author2-link|}}}
 
    |{{#if:{{{author2link|}}} |author2link |HIDE_PARAMETERe4}}={{{author2link|}}}
 
    |{{#if:{{{author-3link|}}}|author3link |HIDE_PARAMETERe5}}={{{author3-link|}}}
 
    |{{#if:{{{author3link|}}} |author3link |HIDE_PARAMETERe6}}={{{author3link|}}}
 
    |{{#if:{{{coauthors|}}}  |coauthors  |HIDE_PARAMETERf}}={{{coauthors|}}}
 
 
 
    |{{#if:{{{accessdate|}}}  |accessdate  |HIDE_PARAMETERg}}={{{accessdate|}}}
 
    |{{#if:{{{display|}}} |display |HIDE_PARAMETERh}}={{{display|}}}
 
    |{{#if:{{{chapter|}}} |chapter |HIDE_PARAMETERchapter}}={{{chapter|}}}
 
    | wstitle =  {{{wstitle|}}}
 
    | title = {{{title|}}}
 
    |{{#if:{{{edition|}}} |edition |HIDE_PARAMETERi}}={{{edition|}}}
 
    |{{#if:{{{year|}}}    |year    |HIDE_PARAMETERj}}={{{year|}}}
 
    |{{#if:{{{url|}}}    |url    |HIDE_PARAMETERk}}={{{url|}}}
 
    |{{#if:{{{volume|}}}  |volume  |HIDE_PARAMETERl}}={{{volume|}}}
 
    |{{#if:{{{page|}}}    |page    |HIDE_PARAMETERm}}={{{page|}}}
 
    |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETERn}}={{{pages|}}}
 
    |{{#if:{{{postscript|}}} |postscript  |HIDE_PARAMETERp}}={{{postscript|}}}
 
    |{{#if:{{{separator|}}} |separator  |HIDE_PARAMETERq}}={{{separator|}}}
 
    |{{#if:{{{mode|}}} |mode  |HIDE_PARAMETERr}}={{{mode|}}}
 
    | ref = {{{ref|harv}}}
 
    <!--pass through the unnamed parameter-->
 
    |{{#if:{{{1|}}}  |1  |HIDE_PARAMETERs}}={{{1|}}} 
 
  }}<!-- no white space
 
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is set-->
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is set-->
 
     |<!-- then-->[[Category:Wikipedia articles incorporating text from the IBD (1915)]]<!--  
 
     |<!-- then-->[[Category:Wikipedia articles incorporating text from the IBD (1915)]]<!--  
     -->{{#if:{{{1|}}}|[[Category:Wikipedia articles incorporating text from the IBD (1915) with an unnamed parameter]]}}<!--
+
     -->{{#if:{{{1|}}}|[[Category:Wikipedia articles incorporating text from the IBD (1915) with an unnamed parameter]]}}}}<!--no white space
    -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using IBD (1915) with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:EB1911]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | accessdate | author | author1 | authorlink |author-link | author2 | author2link |author2-link | author3 | author3link | author3-link | authors | chapter | coauthors | display | edition | first | first1 | first2 | first3 | footnote | inline | last | last1 | last2 | last3 | mode | no-icon | no-prescript | noicon | noprescript | page | pages | postscript | ref | separator | title | url | volume | wstitle | year }}<!--
 
    -->|<!--else do nothing-->
 
  }}<!--no white space
 
 
--><noinclude>
 
--><noinclude>
 
{{Documentation}}</noinclude><!--
 
{{Documentation}}</noinclude><!--
 
--><includeonly><!--DO NOT PUT A BLANK LINE AFTER THIS COMMENT-->
 
--><includeonly><!--DO NOT PUT A BLANK LINE AFTER THIS COMMENT-->

Latest revision as of 14:53, 15 October 2020

Public Domain This article incorporates text from a publication now in the public domainRao, C. Hayavadana (ed.). The Indian Biographical Dictionary. Madras: Pillar & Co. Missing or empty |title= (help)

Template documentation[view] [edit] [history] [purge]

Usage

Non-standard parameters:

noicon=1 — do not display an icon
no-prescript=1 — do not display an prescript (better to use {{cite  IBD1915}})
inline=1  — alters the prescript from "This article" 
                                 to  "One or more of the preceding sentences"
wstitle=article name — will automatically create a link to an IDB article on Wikisource
display=alternative text — if wstitle is set and display is set then
                                       what is see is the display text

All the other parameters are standard and can be found in the documentation of {{cite encyclopedia}} template.

This template fills out the following standard parameters:

 editor-first = C. Hayavadana
 editor-last =  Rao
 encyclopedia = The Indian Biographical Dictionary
 edition = 1st
 year = 1915 — can be overwritten
 location = Madras
 publisher = Pillar & Co.}
 ref = harv — can be overwritten

In addition the following standard parameters are available to be filled:

first
first1
first2
first3
last
last1
last2
last3
author
author1
author2
author3
author-link
author2-link
author3-link
title — can be set as an alternative to wstitle if the article is not available on Wikisource
url – ignored if wstitle is set otherwise can be set as the alternative website for the IBD article
volume
page
pages
mode

Tracking categories

See also

  • {{Cite IBD1915}} — Use for citations where the IBD (1915) text summarised but not copied
  • {{IBD1915 poster}} — Place in the external links area for topic relevant IBD (1915) articles that may be of interest but are not cited by Wikipedia.