„Sablon:Fejléc2/doc” változatai közötti eltérés

Tartalom törölve Tartalom hozzáadva
Nemethyd (vitalap | szerkesztései)
Nincs szerkesztési összefoglaló
Címke: 2017-es forrásszöveg-szerkesztő
Nemethyd (vitalap | szerkesztései)
a cím paraméter
Címke: 2017-es forrásszöveg-szerkesztő
2. sor:
<!-- Kategóriákat és interwikiket a lpa aljára tessék írni! -->
 
==Használat==
===Előtöltés===
A sablon a [[Sablon:Fejléc2/preload]] segítségével előre beolvasható.
 
19 ⟶ 21 sor:
</pre><section end="Használat" />
 
A sablont arra szánták, hogy a művek szócikkeinek felső részén, {{ref|1}} illetve az alábontásaiban megfelelő összefoglaló információt nyújtson, ez a a jelenlegi {{fej}} sablon kibővített változata. Úgy épül fel, hogy a műre vonatkozó információt tartalmazhassa. Az adott műnél nem releváns paramétereket hagyjuk üresen., ám '''Don'tne removetávolítsuk unusedel parametersaz üres pramétereket''', asmert thisez willmegtörné breaka thesablon templatelogikáját andés makemegnehezítené bota'botok maintenance difficultmunkáját. For easy use, see also the ''[[Help:Header preloading script gadget|header preloading script gadget]]'' in your preferences.
 
==Documentation=Paraméterek===
* {{parameter|titlecím}} = titlea of the workcíme, foraz subpageallpokon usehasználjunk [[#Relative links|relativerelatív linkshivatkozásokat]]
===Parameters===
* {{parameter|title}} = title of the work, for subpage use [[#Relative links|relative links]]
* {{parameter|author}} = name of author, not wikilinked
** where control of linking is required add {{parameter|override_author}}. Links may be created manually within {{parameter|override_author}}, while they are automatic with the {{parameter|author}} parameter. Common uses include links to the Portal: namespace (e.g. for organizational authorship) and the inclusion of multiple authors. See [[#No link to author page|No link to author page]]
41 ⟶ 42 sor:
*:#To use a approximate choice of two years, enter it as "Y/Y" (''e.g.'' <code>1066/1067</code>). This will display as it is written.
*: The behaviour of this parameter can be further modified by:
*:* {{parameter|noyear}} = will prevent the year being displayed in the header but will still add the work to the category for the year. For use in cases where the year is already included in the titlecím of the work. Any use of this parameter, even without text, will work. Example: <code>| noyear = yes</code>. All pages with this parameter will be added to [[:Category:Pages with noyear]] for tracking its usage.
*:* {{parameter|noyearcat}} = will display the year but in the header but will not add the work to the category for the year. For use in cases where a specific subcategory exists for the type of work to avoid flooding the main category for the year. As above, any use of the parameter will trigger this action. Pages will be added to the tracking category [[:Category:Pages with noyearcat]].
*:* {{parameter|override_year}} = will display the given text and will not attempt to add the work to the category for the year. For use in any other case not covered by the other parameters. Pages will be added to the tracking category [[:Category:Pages with override year]].
68 ⟶ 69 sor:
<section begin="Full" /><pre>
{{header
| titlecím =
| author =
| translator =
93 ⟶ 94 sor:
 
===Relative links===
With lengthy, multi-page works, using [[m:Help:Link#Subpage_feature|relative links]] is highly recommended. This shortens the code and ensures that a work remains linked together even if it is moved or reorganised. The three formats are <nowiki>[[/subpage]]</nowiki> (subpage), <nowiki>[[../]]</nowiki> (parent), and <nowiki>[[../sibling]]</nowiki> (sibling); see the example usage below. Note that <nowiki>[[../]]</nowiki> will expand to the titlecím of the parent page, which is ideal if the work is renamed at a later time.
 
This depends on a page conforming to the page titlecím standards in the [[WS:STYLE|Style guide]], with works in the form <nowiki>[[Work titlecím]]</nowiki> and <nowiki>[[Work titlecím/Subpage]]</nowiki>.
 
===Chapter titlescíms===
In general, include chapter titlescíms in the "section" field, but avoid including them in the "previous" and "next" fields. For example:
{{ {{BASEPAGENAME}}
| titlecím = [[How the Other Half Lives]]
| author = Jacob Riis
| section = Chapter XI: The Sweaters of Jewtown
125 ⟶ 126 sor:
<pre>
{{header
| titlecím = [[../]]
| author = Lewis Carroll
| section = Chapter 3: A Caucus-Race and a Long Tale
135 ⟶ 136 sor:
</pre>
{{ {{BASEPAGENAME}}
| titlecím = [[Alice's Adventures in Wonderland]]
| author = Lewis Carroll
| section = Chapter 3: A Caucus-Race and a Long Tale
146 ⟶ 147 sor:
<pre>
{{header
| titlecím = Peerage Act 1963
| author = |override_author= the United Kingdom Parliament
| section =
156 ⟶ 157 sor:
</pre>
{{ {{BASEPAGENAME}}
| titlecím = Peerage Act 1963
| author = |override_author= the United Kingdom Parliament
| section =
168 ⟶ 169 sor:
<pre>
{{header
| titlecím = Fables
| author = Jean de La Fontaine
| translator= Elizur Wright
177 ⟶ 178 sor:
}}
{{header
| titlecím = Pantagruel
| author = François Rabelais
| override_translator= [[Author:Thomas Urquhart|]] and [[Author:Peter Antony Motteux|]]
187 ⟶ 188 sor:
</pre>
{{ {{BASEPAGENAME}}
| titlecím = Fables
| author = Jean de La Fontaine
| translator= Elizur Wright
196 ⟶ 197 sor:
}}
{{ {{BASEPAGENAME}}
| titlecím = Pantagruel
| author = François Rabelais
| override_translator= [[Author:Thomas Urquhart|Thomas Urquhart]] and [[Author:Peter Antony Motteux|Peter Antony Motteux]]
222 ⟶ 223 sor:
<pre>
{{header
| titlecím = Kinematics of Machinery
| author = Franz Reuleaux
| section =
235 ⟶ 236 sor:
</pre>
{{ {{BASEPAGENAME}}
| titlecím = Kinematics of Machinery
| author = Franz Reuleaux
| section =
253 ⟶ 254 sor:
<pre>
{{header
| titlecím = 1911 Encyclopædia Britannica
| author =
| section =
263 ⟶ 264 sor:
</pre>
{{ {{BASEPAGENAME}}
| titlecím = 1911 Encyclopædia Britannica
| author =
| section =
284 ⟶ 285 sor:
! wrapper id
|-
| titlecím
| header_cím_text
| header_title_text
|-
| author