Mal:Bildegalleri

Fra Wikipedia, den frie encyklopedi
Gå til: navigasjon, søk
Eksempeltekst 
Dokumentasjonsikon Maldokumentasjon[vis] [rediger] [historikk] [oppdater]

Denne malen tilbyr funksjonalitet for å bygge bildegallerier som er mer fleksible enn bildegallerier laget med Gallery-taggen. Blant annet har denne malen støtte for alternativ tekst, senterjustering og fotnote under bildene. Det vises også en ramme direkte rundt bildene («tett ramme»).

Malen viser opptil 100 bilder etter hverandre. Antall bilder som vises per rad er basert på hvor mange som får plass i vinduet.

Parametere[rediger | rediger kilde]

For hvert bilde[rediger | rediger kilde]

Oppgi en linje for hvert bilde på formen

|Bilde:Filnavn|altN=Alternativ tekst|Bildetekst
  • Filnavn er bildets filnavn. Prefikset Fil: kan også brukes istedetfor Bilde:.
  • N skal være 1 for det første bilde, 2 for det andre, og så videre.
  • Alternativ tekst er en alternativ tekst som brukes av blinde og andre lesere som ikke kan se bildet. Se en:Wikipedia:Alternative text for images.
  • Bildetekst er teksten som vises under bildet.

For hele galleriet generelt[rediger | rediger kilde]

Alle parametrene beskrevet her er valgfrie.

tittel
Tittel som vises over galleriet.
bredde
(standard: 180) Maksbredde for hvert bilde.
høyde
(standard: 180) Makshøyde for hvert bilde.
ramme
(standard: ja) Kan settes lik nei for å ikke vise rammer (se eksempel under)
linjer
(standard: 2) Antall tekstlinjer som trengs for den lengste bildeteksten. Blanke linjer legges til de kortere bildetekstene.
align
(standard: left) Galleriets justering på siden (left, center, or right).
fotnote
Liten, høyrejustert tekst som vises under galleriet.

Eksempel[rediger | rediger kilde]

Med ramme (standard)[rediger | rediger kilde]

{{Bildegalleri
|tittel=Cultural depictions of George Washington
|bredde=160
|høyde=170
|linjer=4
|align=center
|Fil:Federal Hall NYC 27.JPG|alt1=Back of statue facing a city building whose facade is Greek columns covered by a huge U.S. flag|The statue of Washington outside [[Federal Hall]] in [[New York City]], looking on [[Wall Street]].
|Fil:Mount Rushmore2.jpg|alt2=Profile of stone face jutting out from a mountainside. Three workers clamber over it, each about the height of the face's upper lip.|Construction on the George Washington portrait at [[Mount Rushmore]], c. 1932.
|Fil:2006 Quarter Proof.png|alt3=Shiny silver coin with profile of Washington bust. He faces left regally and wears a colonial-style queue in his hair. "UNITED STATES OF AMERICA" is at top, "QUARTER DOLLAR" at bottom, "LIBERTY" at left, and "IN GOD WE TRUST" above "S" at right. Just below the bust is "JF uc" in tiny letters.|Washington is commemorated on the [[Quarter (United States coin)|quarter]].
|Fil:George Washington Presidential $1 Coin obverse.png|alt4=Gold coin with bust of Washington facing slightly left of but looking sternly straight at the viewer. "GEORGE WASHINGTON" is above, "1st PRESIDENT 1789–1797" below, and "JFM" in tiny letters at the bust's base.|Washington is also commemorated on some [[dollar coin (United States)|dollar coins]].
}}
Cultural depictions of George Washington
Back of statue facing a city building whose facade is Greek columns covered by a huge U.S. flag
The statue of Washington outside Federal Hall in New York City, looking on Wall Street.  
Profile of stone face jutting out from a mountainside. Three workers clamber over it, each about the height of the face's upper lip.
Construction on the George Washington portrait at Mount Rushmore, c. 1932.  
Shiny silver coin with profile of Washington bust. He faces left regally and wears a colonial-style queue in his hair. "UNITED STATES OF AMERICA" is at top, "QUARTER DOLLAR" at bottom, "LIBERTY" at left, and "IN GOD WE TRUST" above "S" at right. Just below the bust is "JF uc" in tiny letters.
Washington is commemorated on the quarter.  
Gold coin with bust of Washington facing slightly left of but looking sternly straight at the viewer. "GEORGE WASHINGTON" is above, "1st PRESIDENT 1789–1797" below, and "JFM" in tiny letters at the bust's base.
Washington is also commemorated on some dollar coins.  

Uten ramme[rediger | rediger kilde]

{{Bildegalleri
|tittel=Cultural depictions of George Washington
|bredde=160
|høyde=170
|linjer=4
|ramme=nei
|align=center
|Fil:Federal Hall NYC 27.JPG|alt1=Back of statue facing a city building whose facade is Greek columns covered by a huge U.S. flag|The statue of Washington outside [[Federal Hall]] in [[New York City]], looking on [[Wall Street]].
|Fil:Mount Rushmore2.jpg|alt2=Profile of stone face jutting out from a mountainside. Three workers clamber over it, each about the height of the face's upper lip.|Construction on the George Washington portrait at [[Mount Rushmore]], c. 1932.
|Fil:2006 Quarter Proof.png|alt3=Shiny silver coin with profile of Washington bust. He faces left regally and wears a colonial-style queue in his hair. "UNITED STATES OF AMERICA" is at top, "QUARTER DOLLAR" at bottom, "LIBERTY" at left, and "IN GOD WE TRUST" above "S" at right. Just below the bust is "JF uc" in tiny letters.|Washington is commemorated on the [[Quarter (United States coin)|quarter]].
|Fil:George Washington Presidential $1 Coin obverse.png|alt4=Gold coin with bust of Washington facing slightly left of but looking sternly straight at the viewer. "GEORGE WASHINGTON" is above, "1st PRESIDENT 1789–1797" below, and "JFM" in tiny letters at the bust's base.|Washington is also commemorated on some [[dollar coin (United States)|dollar coins]].
}}
Cultural depictions of George Washington
Back of statue facing a city building whose facade is Greek columns covered by a huge U.S. flag
The statue of Washington outside Federal Hall in New York City, looking on Wall Street.  
Profile of stone face jutting out from a mountainside. Three workers clamber over it, each about the height of the face's upper lip.
Construction on the George Washington portrait at Mount Rushmore, c. 1932.  
Shiny silver coin with profile of Washington bust. He faces left regally and wears a colonial-style queue in his hair. "UNITED STATES OF AMERICA" is at top, "QUARTER DOLLAR" at bottom, "LIBERTY" at left, and "IN GOD WE TRUST" above "S" at right. Just below the bust is "JF uc" in tiny letters.
Washington is commemorated on the quarter.  
Gold coin with bust of Washington facing slightly left of but looking sternly straight at the viewer. "GEORGE WASHINGTON" is above, "1st PRESIDENT 1789–1797" below, and "JFM" in tiny letters at the bust's base.
Washington is also commemorated on some dollar coins.