|
|
Zeile 1: |
Zeile 1: |
− | {{Trad|EN=Template:Meta link towards portal/Documentation|FR=Modèle:Méta lien vers portail/Documentation}} | + | {{Trad |
− | [[{{FULLPAGENAME}}|⇐]]
| + | |DE= |
− | == Usage ==
| + | |EN=Template:Meta link towards portal/Documentation |
− | | + | |ES= |
− | The '''template ''{{BASEPAGENAME}}''''' allows you to display banners of portal.
| + | |FR=Modèle:Méta lien vers portail/Documentation |
− | | + | ||RU= |
− | == Syntax ==
| |
− | | |
− | <nowiki>{{</nowiki>{{BASEPAGENAME}}
| |
− | |parent=none
| |
− | |icon=...
| |
− | |title=...
| |
− | |portal=...
| |
− | |titrl sub-portal=...
| |
− | |sub-portal=...
| |
− | }}
| |
− | | |
− | == Settings ==
| |
− | * <code>parent</code> : if present, and with a value other than <code>parent</code>, allows the concatenation of sub-portal. '''To verify, algorithm locally incomplete or broken'''
| |
− | * <code>icon</code> : Image used as icon portal. The image is reduced to the size of the banner. By default it is the icon "stub.png".
| |
− | * <code>title</code> : Title of the portal.
| |
− | * <code>portal</code> : Link in the portal.
| |
− | * <code>title sub-portal</code> : Sub-title possible.
| |
− | * <code>sub-portal</code> : Link associated with the sub-title.
| |
− | | |
− | == Example ==
| |
− | ===The minimum===
| |
− | <pre>
| |
− | {{Meta link towards portal
| |
− | |title=Title
| |
− | |portal=Portal
| |
− | }}
| |
− | </pre>
| |
− | gives:
| |
− | {{Meta link towards portal
| |
− | |title=Title
| |
− | |portal=Portal
| |
− | }}
| |
− | | |
− | ===With all the parameters filled in===
| |
− | <pre>
| |
− | {{Meta link towards portal
| |
− | |parent=none
| |
− | |icon=Dummy.png
| |
− | |title=Title
| |
− | |portal=Portal
| |
− | |title sub-portal=Title sub-portal
| |
− | |sub-portal=Sub-portal
| |
− | |palette=zorai
| |
− | }}
| |
− | </pre>
| |
− | gives:
| |
− | {{Meta link towards portal
| |
− | |parent=none
| |
− | |icon=Dummy.png
| |
− | |title=Title
| |
− | |portal=Portal
| |
− | |title sub-portal=Title sub-portal
| |
− | |sub-portal=Sub-portal
| |
− | |palette=zorai
| |
− | }}
| |
− | | |
− | ===With all the parameters filled in under parent===
| |
− | <pre>
| |
− | {{Meta link towards portal
| |
− | |parent=parent
| |
− | |icon=Dummy.png | |
− | |title=Title | |
− | |portal=Portal
| |
− | |title sub-portal=Title sub-portal
| |
− | |sub-portal=Sub-portal
| |
− | }}
| |
− | </pre>
| |
− | gives:
| |
− | {{Meta link towards portal
| |
− | |parent=parent
| |
− | |icon=Dummy.png
| |
− | |title=Title
| |
− | |portal=Portal
| |
− | |title sub-portal=Title sub-portal
| |
− | |sub-portal=Sub-portal
| |
| }} | | }} |
| | | |
| <noinclude>[[Category:Template:Portal]]</noinclude> | | <noinclude>[[Category:Template:Portal]]</noinclude> |