Template:S-ach/τεκμηρίωση

From Diadikasies (EN)
Jump to navigation Jump to search

{{#if: |

File:Edit-paste.svg This is the template documentation page for Template:S-ach.
This page may not be intended to be viewed directly.
Links using variables may appear broken; do not replace these with hardcoded page names or URLs.

{{#if:x||S-ach/τεκμηρίωση

}} |{{#ifeq: τεκμηρίωση | τεκμηρίωση

 | 

{{

   #ifeq: show | show
   | 
{{#if: Edit-copy green.svg |
   }}{{
   #if: 
   | 
   | Κατηγορία:Σελίδες τεκμηρίωσης προτύπων
 }}

| }} }}

This template creates a header to be used with succession boxes for people with notable achievements.

Usage

Without parameter

The template was designed to default to

{{#if:{{{1}}} Awards and achievements titles}}{{#switch:{{{1}}} Awards and achievements}} rec=Records aw=Awards ach=Achievements awards=Awards records=Records achievements=Achievements

}}

if no parameter is given. In the following table, the first column contains the header and the second column shows the template call used to create it.

{{#if:{{{1}}} Awards and achievements titles}}{{#switch:{{{1}}} Awards and achievements}} rec=Records aw=Awards ach=Achievements awards=Awards records=Records achievements=Achievements

}}

{{s-ach}}

With parameter

The format is {{s-ach|parameter}}, where parameter is replaced by one of the parameter names shown in the following table. The first column displays the header and the second column contains the parameter name.

{{#if:ach Awards and achievements titles}}{{#switch:ach Awards and achievements}} rec=Records aw=Awards ach=Achievements awards=Awards records=Records achievements=Achievements

}}

ach
{{#if:achievements Awards and achievements titles}}{{#switch:achievements Awards and achievements}} rec=Records aw=Awards ach=Achievements awards=Awards records=Records achievements=Achievements

}}

achievements
{{#if:aw Awards and achievements titles}}{{#switch:aw Awards and achievements}} rec=Records aw=Awards ach=Achievements awards=Awards records=Records achievements=Achievements

}}

aw
{{#if:awards Awards and achievements titles}}{{#switch:awards Awards and achievements}} rec=Records aw=Awards ach=Achievements awards=Awards records=Records achievements=Achievements

}}

awards
{{#if:rec Awards and achievements titles}}{{#switch:rec Awards and achievements}} rec=Records aw=Awards ach=Achievements awards=Awards records=Records achievements=Achievements

}}

rec
{{#if:records Awards and achievements titles}}{{#switch:records Awards and achievements}} rec=Records aw=Awards ach=Achievements awards=Awards records=Records achievements=Achievements

}}

records

Example

From the Anthony Hopkins article:

{{s-start}}
{{s-ach|aw}}
{{s-bef | before = [[Robin Williams]]}}
{{s-ttl | title = Recipient of the [[Cecil B. DeMille Award]] | years = 2006}}
{{s-aft | after = [[Warren Beatty]]}}
{{s-end}}
{{#if:aw Awards and achievements titles}}{{#switch:aw Awards and achievements}} rec=Records aw=Awards ach=Achievements awards=Awards records=Records achievements=Achievements

}}

Προκάτοχος
Robin Williams{{#if:|
{{{πριν2}}}|}}{{#if:|
{{{before3}}}|}}{{#if:|
{{{πριν4}}}|}}{{#if:|
{{{πριν5}}}|}}
{{#if:|
ως {{{ως}}}}}
Recipient of the Cecil B. DeMille Award{{#if:|
Αντιπρόσωπος για {{{περιφέρεια}}}|}}{{#if:|
{{{δυναστεία}}}|}}{{#if:|
{{{δημιουργία}}}|}}{{#if:|
{{{έτη}}}|}}{{#if:|
με {{{αντιβασιλιάς1}}}|}} {{#if:| ({{{έτη1}}})|}}{{#if:|
{{{αντιβασιλιάς2}}}|}} {{#if:| ({{{έτη2}}})|}}{{#if:|
{{{αντιβασιλιάς3}}}|}} {{#if:| ({{{έτη3}}})|}}{{#if:|
{{{αντιβασιλιάς4}}}|}} {{#if:| ({{{έτη4}}})|}}{{#if:|
{{{αντιβασιλιάς5}}}|}} {{#if:| ({{{έτη5}}})|}}{{#if:|
{{{αντιβασιλιάς6}}}|}} {{#if:| ({{{έτη6}}})|}}{{#if:|
{{{αντιβασιλιάς7}}}|}} {{#if:| ({{{έτη7}}})|}}{{#if:|
{{{αντιβασιλιάς8}}}|}} {{#if:| ({{{έτη8}}})|}}{{#if:|
Υπηρέτησε μαζί με: {{{μαζίμε}}}|}}{{#if:|
Με: {{{με}}}{{#if:|
{{{με2}}}|}}{{#if:|
{{{με3}}}|}}{{#if:|
{{{με4}}}|}}{{#if:|
{{{με5}}}|}}{{#if:|
{{{με6}}}|}}{{#if:|
{{{με7}}}|}}{{#if:|
{{{με8}}}|}}{{#if:|
{{{με9}}}|}}{{#if:|
{{{με10}}}|}}{{#if:|
{{{με11}}}|}}{{#if:|
{{{με12}}}|}}{{#if:|
{{{με13}}}|}}{{#if:|
{{{με14}}}|}}{{#if:|
{{{με15}}}|}}{{#if:|
{{{με16}}}|}}{{#if:|
{{{με17}}}|}}{{#if:|
{{{με18}}}|}}{{#if:|
{{{με19}}}|}}{{#if:|
{{{με20}}}|}}{{#if:|
{{{με21}}}|}}{{#if:|
{{{με22}}}|}}{{#if:|
{{{με23}}}|}}{{#if:|
{{{με24}}}|}}{{#if:|
{{{με25}}}|}}
|}}{{#if:|
Μέλος της Βουλής των Λόρδων
({{{λόρδοι}}})
|}}
Διάδοχος
Warren Beatty{{#if:|
|}}{{#if:|
|}}{{#if:|
|}}{{#if:|
|}}
{{#if:|
ως {{{ως}}}}}

βλέπε επίσης