Sablon:Navoszlop2

A Wikipédiából, a szabad enciklopédiából


Használati útmutató


Ez a sablon egy második eligazító tábla, a (navoszlop) egy változata.
A tábla fölé és alá is lehet írni kiegészítő, vagy hozzá kapcsolódó érdekességeket. Két kép is feltölthető. Alcsoportokat is kezel (beágyazás [child]).

Beállítható értékei[szerkesztés]

Ajánlott értékek[szerkesztés]

A sablon legalább két ajánlott adatmegadással működik:

  • title, ide a tábla nevét kell írni;
  • content1, az ide írottak jelennek meg a szövegablakban.

(ha ezeket sem adjuk meg, az sem okoz hibát)

Elsődlegesen megadható értékek táblázata[szerkesztés]

Ugyanazok, mint az angol oldalon. (igyekszem lefordítani, de a lenti üres minta talán többet segít a használatában)

Érték Magyarázat
|name= The sidebar's name, i.e. the name following "Template:" in the title shown at the top of the sidebar's page.
Required if the M.V.Sz {{navbar}} links at the bottom of the sidebar are to function correctly, unless their appearance is suppressed (see the navbar parameter below) or Sablon:Tlf is not being used as a wrapper for Module:Sidebar. When Sablon:Tlf is used as a wrapper, setting |name={{subst:PAGENAME}} is recommended.
|outertitle= Use to place a title for the sidebar immediately above the sidebar.
|topimage= Use to place an image at the top of the sidebar, i.e. above |title= (if used). Full wiki syntax is expected (i.e. [[File:...]]).
To add a caption below the image, use |topcaption=.
|pretitle= Use to place a line such as "Part of the X series on" before the title.
|title= Use to place a title for the sidebar at the top of the sidebar. (If |topimage= is used, it will appear immediately below it).
|image= Use to place an image between the |title= (if used) and first section. As with |topimage=, full wiki syntax is expected (i.e. [[File:...]]).
To add a caption below the image, use |caption=.
|headingstyle= Use to alter the default CSS styling set for section headings.
To alter the CSS styling for a specific section's heading, use |headingnstyle=, where n is the number of the section.
|contentstyle= Use to alter the default CSS styling set for section content.
To alter the CSS styling for a particular section's content, use |contentnstyle=, where n is the number of the section.
|heading1=
|content1=
First section's heading-content. content1 is required if heading1 is also to appear.
|heading2=
|content2=
Second section's heading-content. (content2 required if heading2 also to appear; etc.)
|heading3=
|content3=
Third section's heading-content.
...... etc ......
|heading35=
|content35=
Currently, the last possible section heading and/or content.


Egyéb beállítható értékek táblázata[szerkesztés]

Érték Magyarázat
|above= Same as the |above= offered by {{Navbox}}(?).
  • |class= or |bodyclass=
  • |outertitleclass=
  • |topimageclass=
  • |pretitleclass=
  • |titleclass=
  • |imageclass=
  • |aboveclass=
  • |headingclass=
  • |contentclass=
  • |belowclass=

Microformat classes for the corresponding parameters.
(|class= and |bodyclass= are applied across the whole sidebar.)

|below= Same as the |below= offered by {{Navbox}}(?).
(Use, for example, to add one or more portal links to the bottom of the template (shown, by default, in bold).)
  • |style= or |bodystyle=
  • |outertitlestyle=
  • |topimagestyle=
  • |topcaptionstyle=
  • |pretitlestyle=
  • |titlestyle=
  • |imagestyle=
  • |captionstyle=
  • |abovestyle=
  • |headingstyle=
  • |headingnstyle=
  • |contentstyle=
  • |contentnstyle=
  • |belowstyle=
  • |navbarstyle=
      |tnavbarstyle=

Use to alter the default CSS styling for the corresponding parameters.
(|style= and |bodystyle= are applied across the whole sidebar.)

|cellspacing=
|cellpadding=
Use to amend the default cellspacing-cellpadding set for the infobox-class table with which the sidebar is built.
|navbar=  |tnavbar= Set to "off", "none", etc. (without quotes) to remove the {{navbar}} links (M.V.Sz) that otherwise appear at the bottom of the sidebar.
|navbarfontstyle=
  |tnavbarfontstyle=
Use to specify the font style used by the navbar at the bottom of the sidebar (see {{navbar}} for options available).


Használata[szerkesztés]

Példa 01[szerkesztés]

Minden ablakot, sort és oszlopot külön-külön és csoportosan is lehet színezni és állítani (de ne essünk túlzásokba)

Az angol oldalakon sok jó példát lehet találni letisztult, arányos kinézettel; érdekes és tanulságos elrendezésben, beágyazott tartalmakkal. (Ha születnek ilyen magyar tartalmak, érdemes ide felrakni példának és tanulságnak.)



Rövid másolható minta =[szerkesztés]

{{Navoszlop2

| style = 
| name = {{subst:PAGENAME}}
| pretitle = 
| title = 
| image = 
| headingstyle = 
| contentstyle = 

| above = 

| heading1 = 
| content1 = 

| heading2 = 
| content2 = 

| heading3 = 
| content3 = 

<!-- etc, to: -->

| heading35 = 
| content35 = 

| below = 

}}

Egy üres oldal, minden állítható értékkel[szerkesztés]

{{Navoszlop2
| name = {{subst:PAGENAME}}
| class =            <!-- or: | bodyclass = -->
| style =            <!-- or: | bodystyle = -->
| width = 
| cellspacing = 
| cellpadding = 
| wraplinks =        <!-- "true" otherwise (default:) omit -->

| outertitleclass = 
| outertitlestyle = 
| outertitle = 

| topimageclass = 
| topimagestyle = 
| topimage = 
| topcaptionstyle = 
| topcaption = 

| pretitleclass = 
| pretitlestyle = 
| pretitle = 

| titleclass = 
| title = 

| imageclass = 
| imagestyle = 
| image = 
| captionstyle = 
| caption = 

| headingclass = 
| headingstyle = 
| contentclass = 
| contentstyle = 

| aboveclass = 
| abovestyle = 
| above = 

| heading1style = 
| heading1 = 
| content1style = 
| content1 = 

| heading2style = 
| heading2 = 
| content2style = 
| content2 = 

| heading3style = 
| heading3 = 
| content3style = 
| content3 = 

<!-- etc, to: -->

| heading35style = 
| heading35 = 
| content35style = 
| content35 = 

<!-- (omitting heading4/content4 to penultimate heading/content parameters) -->

| belowclass = 
| belowstyle = 
| below = 

| navbarstyle =      <!-- or: | tnavbarstyle = -->
| navbarfontstyle =  <!-- or: | tnavbarfontstyle = -->
| navbar =           <!-- or: | tnavbar = --> <!-- "off", "none", etc otherwise (default:) omit -->

}}

Kapcsolódó sablonok[szerkesztés]

Lásd még[szerkesztés]