Changes

Jump to navigation Jump to search

Help:Editing/References

882 bytes added, 20 February
m
References using links: text adjustments
IntactiWiki articles must be written in a descriptive style like in the Wikipedia, based on [[Help:Editing/Verifiability|reliable information ]] from outside the IntactiWiki. Those references should always be linked to the portion of text where they belong.
== Basic references ==
You can use any complex portion of text for a reference. Please keep in mind that it will be converted into an article footnote, so you better keep reference texts as short as possible. The following code sample shows how to use a simple external link in a reference:
<nowiki><ref>[httphttps://www.facebook.com Facebook link to the information]</ref></nowiki>
The external link is always written in '''single square brackets''', with the URL '''followed by a space character ''' and the URL description or title.<ref>[httphttps://www.facebook.com Facebook link to the information]</ref>
== References using templates ==
{{DefaultTemplates}}
Templates can use parameters, and the more parameters, the more you may want to use a vertical notation for a reference. The listed templates try to offer copyable template code in both vertial and horizontal notation. The formatting results are the same.  '''Note:''' Because the vertical notation is clearer and helps to avoid and find errors, we recommend using vertical notation. Here is a REFweb example:
=== Horizontal notation ===
{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |website=Encyclopedia of Things |work=Huge work |date=2018-12-24 |accessdate=2019-09-20 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...}}
'''Note:''' The warning about a deprecated template parameter is built into the template output itself and helps not to use avoiding deprecated parameters.<ref>{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |website=Encyclopedia of Things |work=Huge work |date=2018-12-24 |accessdate=2019-09-20 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...}}</ref>
=== Vertical notation ===
|quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...
}}</ref>
 
== Multiple usage of references ==
It's quite usual to use a reference multiple times in an article. In order to be able and re-use a reference, you will have to name its tag like in the following example:
<ref name=John>
 
If the reference name has more than one word, use quotation marks instead.
<ref name="Name of the reference">
 
If you want to use it after the initial usage, simply write for the second position:
<nowiki><ref name=John/></nowiki>
 
or for the second example above:
<nowiki><ref name="Name of the reference"/></nowiki>
 
The slash at its end informs the render engine that this is a complete ref tag. A leading space character in front of the slash is not required any longer. This behavior is identical to common HTML5 tags.
{{SEEALSO}}
* [http[Special:AllPages//en.intactiwiki.org/index.php/SpecialTemplate:AllPages?from=&to=&namespace=10 |Templates available in the IntactiWiki]]
{{REF}}
[[Category:IntactiWiki manual]]
administrator, administrators, Bureaucrats, Interface administrators, Administrators
22,208
edits

Navigation menu