Template:Ht: Difference between revisions

From LBA File Information
Jump to navigation Jump to search
[checked revision][checked revision]
Content deleted Content added
Undo revision 1971 by Zink (talk) - test
No edit summary
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
| style="text-align:right" | {{#if:{{{1|}}}|{{#iferror:{{#expr: {{{1}}} + 1}}|{{{1}}} }} }}
| style="text-align:right" | {{{1|}}}
| style="text-align:center; background-color:#{{entry type colour|{{{2}}}}}" | {{#if:{{{r|}}}|Rep: {{#expr:{{{r}}}+1}}|{{{2|}}} }}
| style="text-align:center; background-color:#{{entry type colour|{{{2}}}}}" | {{#if:{{{r|}}}|Rep: {{#expr:{{{r}}}+1}}|{{{2|}}} }}
| style="text-align:center; background-color:#{{#show: {{{3|}}} | ?colour}}" | {{#show: {{{3|}}} | ?extension}}
| style="text-align:center; background-color:#{{#show: {{{3|}}} | ?colour}}" | {{#show: {{{3|}}} | ?extension}}

Revision as of 06:56, 20 May 2013

Named params:

  • r - for repeated entries, index of base entry (counted from 0),
  • cl - content link - if the entry function description is too obscure for the entry page link (like for indexed functions, e.g. English: Dialogs 0), setting this param to 1 will create the link from the entry content summary instead of function description. The link will still be created in the Function column, but it will lead to the page named by the content. If this param is used, content summary param (5) must be defined.

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. The base page's namespace is always included in the link target (because an entry never belongs to more than one LBA version).
  5. Content summary of the entry. If empty and entry has the function description, the function description will be shown (non-clickable and non-unique).