Template:Ht: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
Content deleted Content added
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
| {{#if: {{{4|}}} |
| {{#if: {{{4|}}} |
||
| {{#if: {{{cl|}}} |
| {{#if: {{{cl|}}} |
||
| [[{{#if:{{{u|}}}|{{PAGENAME}} }}{{{5}}}|{{{4}}}]] |
| [[{{NAMESPACE}}:{{#if:{{{u|}}}|{{PAGENAME}} }}{{{5}}}|{{{4}}}]] |
||
| [[{{#if:{{{u|}}}|{{PAGENAME}} {{{4}}}{{!}}}}{{{4}}}]] }} |
| [[{{NAMESPACE}}:{{#if:{{{u|}}}|{{PAGENAME}} {{{4}}}{{!}}}}{{{4}}}]] }} |
||
| ''Unknown'' |
| ''Unknown'' |
||
}} |
}} |
||
Line 13: | Line 13: | ||
Named params: |
Named params: |
||
* '''r''' - for repeated entries, index of base entry (counted from 0), |
* '''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). |
<!--* '''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). --> |
||
* '''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. This param can be used together with ''u''. |
* '''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.<!-- This param can be used together with ''u''. --> |
||
Unnamed params: |
Unnamed params: |
||
Line 20: | Line 20: | ||
# Entry type (Normal, Hidden, Repeated or Blank), |
# Entry type (Normal, Hidden, Repeated or Blank), |
||
# File type (pagename of the type), |
# 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. |
# 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). |
||
# Content summary of the entry. If empty and entry has the function description, the function description will be shown (non-clickable and non-unique). |
# Content summary of the entry. If empty and entry has the function description, the function description will be shown (non-clickable and non-unique). |
||
</noinclude> |
</noinclude> |
Revision as of 13:20, 4 March 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:
- 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. The base page's namespace is always included in the link target (because an entry never belongs to more than one LBA version).
- Content summary of the entry. If empty and entry has the function description, the function description will be shown (non-clickable and non-unique).