Template:Ht: Difference between revisions

From LBA File Information
Jump to navigation Jump to search
[checked revision][checked revision]
Content deleted Content added
No edit summary
No edit summary
Line 4: Line 4:
| style="text-align:center; background-color:#{{#show: {{{3|}}} | ?colour}}" | {{#show: {{{3|}}} | ?extension}}
| style="text-align:center; background-color:#{{#show: {{{3|}}} | ?colour}}" | {{#show: {{{3|}}} | ?extension}}
| {{#if: {{{4|}}}
| {{#if: {{{4|}}}
| [[{{{4|}}}{{#if: {{{5|}}} | {{!}}{{{5}}}}}]]
| [[{{{4}}}{{#if:{{{u|}}}|{{!}}{{PAGENAME}} {{{4}}}}}]]
| {{{5|}}}
| ''Unknown''
}}
}}
| {{{5|}}}
|-</includeonly><noinclude>
|-</includeonly><noinclude>
Named params:
Like [[Template:Hqr tbr 1]], but with different parameter order.
* '''r''' - for repeated entries, index of base entry (counted from 0),
* '''u''' - uniquify - if the entry function description is going to be identical as function description of another entry (in another LBA or HQR file), setting this param to 1 will add HQR page name (including LBA version for double HQRs) to the link (but not to the field text).

Unnamed params:
# Index of the entry (counted from 0),
# Entry type (Normal, Hidden, Repeated or Blank),
# File type (pagename of the type),
# Function of the entry. The entry link is created from this param - if empty, no page link will be created, and ''Unknown'' will be put as the field's text.
# Content summary of the entry.
</noinclude>
</noinclude>

Revision as of 13:25, 23 February 2013

Named params:

  • r - for repeated entries, index of base entry (counted from 0),
  • u - uniquify - if the entry function description is going to be identical as function description of another entry (in another LBA or HQR file), setting this param to 1 will add HQR page name (including LBA version for double HQRs) to the link (but not to the field text).

Unnamed params:

  1. Index of the entry (counted from 0),
  2. Entry type (Normal, Hidden, Repeated or Blank),
  3. File type (pagename of the type),
  4. Function of the entry. The entry link is created from this param - if empty, no page link will be created, and Unknown will be put as the field's text.
  5. Content summary of the entry.