Anonymous
×
Create a new article
Write your page title here:
We currently have 1,806 articles on Everwind Wiki. Type your article name above or click on one of the titles below and start writing!



Everwind Wiki
1,806Articles

Template:Abb/doc: Difference between revisions

en>Jundie
No edit summary
 
(15 intermediate revisions by 4 users not shown)
Line 31: Line 31:
! class="unsortable" | icon
! class="unsortable" | icon
|-
|-
| '''DLB'''
| '''AK'''
| {{abb|DLB}}
| {{abb|AK}}
| {{abb|mode=short|DLB}}
| {{abb|mode=short|AK}}
| [[{{abb|mode=link|DLB}}]]
| [[{{abb|mode=link|AK}}]]
| [[File:{{abb|mode=icon|DLB}}|x40px]]
| [[File:{{abb|mode=icon|AK}}|x40px]]
|-
|-
| '''F42'''
| '''AUX'''
| {{abb|F42}}
| {{abb|AUX}}
| {{abb|mode=short|F42}}
| {{abb|mode=short|AUX}}
| [[{{abb|mode=link|F42}}]]
| [[{{abb|mode=link|AUX}}]]
| [[File:{{abb|mode=icon|F42}}|x40px]]
| [[File:{{abb|mode=icon|AUX}}|x40px]]
|-
|-
| '''GT'''
| '''GH'''
| {{abb|GT}}
| {{abb|GH}}
| {{abb|mode=short|GT}}
| {{abb|mode=short|GH}}
| [[{{abb|mode=link|GT}}]]
| [[{{abb|mode=link|GH}}]]
| [[File:{{abb|mode=icon|GT}}|x40px]]
| [[File:{{abb|mode=icon|GH}}|x40px]]
|-
| '''JC'''
| {{abb|JC}}
| {{abb|mode=short|JC}}
| [[{{abb|mode=link|JC}}]]
| [[File:{{abb|mode=icon|JC}}|x40px]]
|-
| '''LS'''
| {{abb|LS}}
| {{abb|mode=short|LS}}
| [[{{abb|mode=link|LS}}]]
| [[File:{{abb|mode=icon|LS}}|x40px]]
|-
|-
| '''OR'''
| '''OR'''
Line 67: Line 55:
| [[File:{{abb|mode=icon|OR}}|x40px]]
| [[File:{{abb|mode=icon|OR}}|x40px]]
|-
|-
| '''RD'''
| '''SL'''
| {{abb|RD}}
| {{abb|SL}}
| {{abb|mode=short|RD}}
| {{abb|mode=short|SL}}
| [[{{abb|mode=link|RD}}]]
| [[{{abb|mode=link|SL}}]]
| [[File:{{abb|mode=icon|RD}}|x40px]]
| [[File:{{abb|mode=icon|SL}}|x40px]]
|-
|-
| '''ROI'''
| '''WS'''
| {{abb|ROI}}
| {{abb|WS}}
| {{abb|mode=short|ROI}}
| {{abb|mode=short|WS}}
| [[{{abb|mode=link|ROI}}]]
| [[{{abb|mode=link|WS}}]]
| [[File:{{abb|mode=icon|ROI}}|x40px]]
| [[File:{{abb|mode=icon|WS}}|x40px]]
|-
|-
| '''RV'''
| '''WIKI'''
| {{abb|RV}}
| {{abb|WIKI}}
| {{abb|mode=short|RV}}
| {{abb|mode=short|WIKI}}
| [[{{abb|mode=link|RV}}]]
| [[{{abb|mode=link|WIKI}}]]
| [[File:{{abb|mode=icon|RV}}|x40px]]
| [[File:{{abb|mode=icon|WIKI}}|x40px]]
|-
|-
| '''none'''
| '''none'''
Line 115: Line 103:
! Result
! Result
|-
|-
| <code><nowiki>{{abb|F42}}</nowiki></code>
| <code><nowiki>{{abb|WS}}</nowiki></code>
| {{abb|F42}}
| {{abb|WS}}
|-
|-
| <code><nowiki>{{abb|mode=short|F42}}</nowiki></code>
| <code><nowiki>{{abb|mode=short|WS}}</nowiki></code>
| {{abb|mode=short|F42}}
| {{abb|mode=short|WS}}
|-
|-
| <code><nowiki>{{abb|mode=link|F42}}</nowiki></code>
| <code><nowiki>{{abb|mode=link|WS}}</nowiki></code>
| {{abb|mode=link|F42}}
| {{abb|mode=link|WS}}
|-
|-
| <code><nowiki>{{abb|mode=icon|F42}}</nowiki></code>
| <code><nowiki>{{abb|mode=icon|WS}}</nowiki></code>
| {{abb|mode=icon|F42}}
| {{abb|mode=icon|WS}}
|}
|}

Latest revision as of 05:17, 23 July 2021

This page contains usage information for [[{{#sub:Template:Abb/doc|0|{{#rpos:Template:Abb/doc|/doc}}}}]].

Small template which retrieves the name of an Everwind book for a given user entry.

Auxiliary template for {{Infobox}}.

Usage

{{abb|abbreviation}}

Parameters

{{#replace:{{#replace:{{#replace:{{#replace:<unnamed 1> // abb|| }}| >> | up to }}| // | or }}| ++ |, }}
Book abbrevation; see #Abbreviations below for list of valid inputs.
(default: "text")
{{#replace:{{#replace:{{#replace:{{#replace:mode|| }}| >> | up to }}| // | or }}| ++ |, }}
Determines the template output.

Available options:

  • icon: Returns the name of the book's icon (without "File:" prefix).
  • link: Returns the name of the book's overview article.
  • short: Returns a shortened version of the book's name for display in narrow spaces.
  • text: Returns the book's name.

Abbreviations

<section begin="abbrevations" />

Abbreviation text short link icon
AK Arkaeni AK Arkaeni (subchapter)
AUX Auxiliaries AUX List of Auxiliary Short Stories File:Booktitle-AUX.png
GH [[]] [[File:|x40px]]
OR Outrider OUTRIDER Outrider (book) File:Booktitle-OR.png
SL Snowleaf SNOW Snowleaf (subchapter)
WS [[]] [[File:|x40px]]
WIKI About WIKI The Verges Wiki:About File:Booktitle-WIKI.png
none mentioned-only mentioned-only

<section end="abbrevations" />

Adding new abbrevations

Simply add the following to the template and fill it out:

-->|ABBREVIATION=<!--
 -->{{#switch:{{lc:{{{mode|}}}}}<!--
  -->|icon          =<!--
  -->|link          =<!--
  -->|short         =<!--
  -->|text|#default =<!--
 -->}}<!--

Please note:

  • The abbreviation needs to be in all-uppercase.
  • Icon file names should be specified without "File:" prefix.

In addition, please try to maintain alphabetical order of abbreviations within the template.

Examples

Input Result
{{abb|WS}}
{{abb|mode=short|WS}}
{{abb|mode=link|WS}}
{{abb|mode=icon|WS}}