Πρότυπο:Απόσπασμα συζήτησης

Από τη Βικιπαίδεια, την ελεύθερη εγκυκλοπαίδεια

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
— User:Example User 11:47, 14 Οκτωβρίου 2020 (UTC)


Documentation icon Τεκμηρίωση προτύπου[προβολή] [επεξεργασία] [ιστορικό] [ανανέωση]

Χρήση[επεξεργασία κώδικα]

Χρησιμοποιήστε αυτό το πρότυπο για να παραθέσετε κάποιο απόφθεγμα, μέρος κειμένου, άλλων συντακτών σε σελίδες συζήτησης. Μπορεί να χρησιμοποιηθεί χωρίς πρόβλημα και με εσοχές (δείτε τα παραδείγματα στην παράγραφο #Εσοχές παρακάτω).

Παράμετροι[επεξεργασία κώδικα]

Χωρίς όνομα (βάσει θέσης) παράμετροι
{{Απόσπασμα συζήτησης|απόσπασμα|από}}
  • το απόσπασμα πρέπει να προηγείται του από (αν η παράμετρος από χρησιμοποιείται).
Χρησιμοποιώντας παραμέτρους με όνομα
{{Απόσπασμα συζήτησης|απόσπασμα=απόσπασμα κειμένου της συζήτησης|από=χρήστης από τον οποίο γράφτηκε το κείμενο|πηγή=πηγή του κειμένου|ts=χρόνος που γράφτηκε το απόσπασμα|oldid=oldid}}
Επεξήγηση της χρήσης των παραμέτρων
  • απόσπασμα (μπορεί να χρησιμοποιηθεί και η παράμετρος κείμενο): Το κείμενο που παρατίθεται (αναγκαστική παράμετρος, πρέπει να συμπληρωθεί).
  • από: Ο συγγραφέας του κειμένου που παρατίθεται (δεν απαιτείται).
  • πηγή: Η πηγή του κειμένου. Χρησιμοποιήστε το αντί της παραμέτρου από όταν το κείμενο προέρχεται από πηγή και όχι από κάποιο άτομο.
  • oldid: Το ID της έκδοσης που δείχνει την αλλαγή (δεν απαιτείται).
  • ts: Το χρονικό στίγμα της παράθεσης του αποσπάσματος.

Παραδείγματα[επεξεργασία κώδικα]

Εσοχές[επεξεργασία κώδικα]

The following wiki-markup:

Random paragraph of text. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:20, 21 May 2011 (UTC)
:Opening statement by [[User:User|Some other user]].
:{{talkquote|Quoting an item from random paragraph.}}
:Response to quoted text. [[User:User|Some other user]] ([[User talk:User|talk]]) ~~~~~

Gives the following:

Random paragraph of text. Example (talk) 09:20, 21 May 2011 (UTC)

Opening statement by Some other user.

Quoting an item from random paragraph.

Response to quoted text. Some other user (talk) 09:26, 21 May 2011 (UTC)

Quoting lists[επεξεργασία κώδικα]

If the text you are quoting is a bulleted or numbered list, the first list item must start on a new line, or it won't be rendered properly. For example:

Wiki-markup Output
Wrong way
{{talkquote|* Item one
* Item two
}}
First item isn't bulleted correctly:

* Item one

  • Item two
Right way
{{talkquote|
* Item one
* Item two
}}
All items are bulleted correctly:
  • Item one
  • Item two

If you are using the |text= named parameter, the MediaWiki parser automatically removes line breaks at the start of the text, causing the list to be displayed improperly. To stop this happening, add <nowiki /> after the = sign:

Wiki-markup Output
Wrong way
{{talkquote|text=
# Item one
# Item two
}}
First item isn't numbered correctly:

# Item one

  1. Item two
Right way
{{talkquote|text=<nowiki />
# Item one
# Item two
}}
All items are numbered correctly:
  1. Item one
  2. Item two