Help:Manual/References

MH370 DECODED
Jump to navigation Jump to search

References

Abbreviations
  • MS - Media Statement
  • RPT - Report
  • DOC - Other type of Document
  • MediaID-NNN - Media articles
  • IMG - Image

Code for a page citing a reference

<p style="text-align:center;"><u>Source</u>: <i>Title</i> {{RefID:}}</p>
<br />
<p style="text-align:center;"><u>Source</u>: Name {{RefID:}}</p>

1. Code on page in Reference/...

Note: The /Media refers to Media Statements.

{{Template:Reference/Media <!--  -->
   |Anchor=<html><a class="offset" id=" "></a></html>
   |RefID=
   |Title=
   |Source=
   |Date={{Day }}
   |URL1=<html><a href=" " target="_blank"> </a></html>
   |URL2=<html><a href=" " target="_blank"> </a></html>
   |URL3=<html><a href=" " target="_blank"> </a></html> <!-- Add a note instead of URL3 -->
}}
<p>
   <div style="margin-left: 5.5em; float: left;">Pages or articles which refer to this resource:-</div> <!-- end column 1  -->
   <div class="displaytree"><categorytree mode="pages" depth="0" hideprefix="on"> </categorytree></div> <!-- Add RefID -->
   <div style="clear:left;"></div>
</p>
{{ShortLine}}

2. Code on page in RefID:

Note: Variable cannot be used for a RefID.

{{ReferenceID
   |RefID=
   |Link=References/ #
}}
<noinclude>
   <p>{{RefID:{{PAGENAME}}/Description}}</p>
   <p>[[:Category:{{PAGENAME}}]]</p>
</noinclude>
{{ReferenceID
<!-- Insert RefID here:- -->
   |RefID=
<!-- Insert link here. Include the RefID as an anchor # -->
   |Link=References/  #
}}
<noinclude>
<p>{{RefID:{{PAGENAME}}/Description}}</p> <!-- add title -->
{{ShortLine}}
<p>[[:Category:{{PAGENAME}}]]</p>
</noinclude>

3. Code on Category Page

{{CategoryPage/RefID Header
   |RefID={{PAGENAME}}
   |Description={{RefID:{{PAGENAME}}/Description}}
   |ParentCategory=References
}}
{{CategoryPage/RefID Header
<!-- Add the RefID. Defaults to {{PAGENAME}} -->
   |RefID=
<!-- Transclude a description. Defaults to {{PAGENAME}}/Description -->
   |Description={{RefID: /Description}}
<!-- Specify a Parent Category. Defaults to References. -->
   |ParentCategory=References
}}

From 25 February 2024 the Reference system has been redesigned:-
  1. All information about a reference will be held in the Ref: namespace (alias Ref-ID:). The Page and sub-pages is like a record and fields.
  2. Each article in NS_Ref: will have multiple sub-pages, each containing part of the data, populate as required or if data is available
  3. The data, from relevant sub-pages, can be transcluded into a Reference Index
  4. Pages from the Reference Index may be transcluded into pages associated with the entity that published them
  5. When the Ref-ID is transcluded it contains a Category and a Link.
  6. The Category is Hidden. The Link is to an anchor on a reference index page.
  7. The category has to be added manually if required within the Main namespace.
  8. Tooltips were started and abandoned. Tooltips do not work within links so the prefix Ref: had to be used for a the link. It is better to not quote the namespace and to use the whole Reference ID as the link.
  9. Jan 2025 simplified code to be copied on each page. Older code is usable, in columns on right.
Categories
  1. The Ref-ID is also used as a Category Name
  2. Pages which include referenced content are in that Category
  3. To prevent non-public pages from also being in the Category, the code is conditional
  4. The expression is part of the Template:ReferenceID
Links