Difference between revisions of "Template:ICCU/doc"

From blackwiki
Jump to navigation Jump to search
imported>Matthiaspaul
(Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{F...')
 
imported>Matthiaspaul
 
Line 14: Line 14:
  
 
:<nowiki>
 
:<nowiki>
{{ICCU|CCXXXYY12345}}
+
{{ICCU|AA\BBBB\CCCC\123456}}
 
</nowiki>   
 
</nowiki>   
  
 
:will result in
 
:will result in
  
:{{ICCU|CCXXXYY12345}}
+
:{{ICCU|AA\BBBB\CCCC\123456}}
  
 
*Example 2:
 
*Example 2:
  
 
:<nowiki>
 
:<nowiki>
{{ICCU|iccu=CCXXXYY12345}}
+
{{ICCU|iccu=AA\BBBB\CCCC\123456}}
 
</nowiki>   
 
</nowiki>   
  
 
:will result in
 
:will result in
  
:{{ICCU|iccu=CCXXXYY12345}}
+
:{{ICCU|iccu=AA\BBBB\CCCC\123456}}
  
 
*Example 3 (up to 9 parameters - do not use {{para|iccu}} at the same time):
 
*Example 3 (up to 9 parameters - do not use {{para|iccu}} at the same time):
  
 
:<nowiki>
 
:<nowiki>
{{ICCU|CCXXXYY12345|CCXXXYY54321}}
+
{{ICCU|AA\BBBB\CCCC\123456|AA\BBBB\CCCC\123456}}
 
</nowiki>   
 
</nowiki>   
  
 
:will result in
 
:will result in
  
:{{ICCU|CCXXXYY12345|CCXXXYY54321}}
+
:{{ICCU|AA\BBBB\CCCC\123456|AA\BBBB\CCCC\123456}}
  
 
==See also==
 
==See also==

Latest revision as of 22:23, 1 May 2020

Usage

This template frames Istituto Centrale per il Catalogo Unico (ICCU) SBN codes for usage inside the |id= parameter in the various {{citation}} and {{cite}} templates, or elsewhere.

The template could be expanded to make the given code available as meta-data or to provide some error checking.

Parameters

The first parameter should be the ICCU code (alternatively given as |iccu=.

  • Example 1:
{{ICCU|AA\BBBB\CCCC\123456}}
will result in
ICCU AA\BBBB\CCCC\123456
  • Example 2:
{{ICCU|iccu=AA\BBBB\CCCC\123456}}
will result in
ICCU AA\BBBB\CCCC\123456
  • Example 3 (up to 9 parameters - do not use |iccu= at the same time):
{{ICCU|AA\BBBB\CCCC\123456|AA\BBBB\CCCC\123456}}
will result in
ICCU AA\BBBB\CCCC\123456, AA\BBBB\CCCC\123456

See also