Mall:Karaktär: Skillnad mellan sidversioner

Från Nordens Stjärnors officiella handbok
m Svenska Superserier flyttade sidan DC Database:Character Template till Mall:Karaktärsmall utan att lämna en omdirigering
Ingen redigeringssammanfattning
Rad 4: Rad 4:




-->[[Category:Characters]]<!--
-->[[Kategori:Alla karaktärer]]<!--


Pause Categorization, Begin Infobox  
Pause Categorization, Begin Infobox  




--><div style="width:250px; float:right; clear:none; margin:1em 0 1em 1em; border:1px solid {{Theme|{{{Theme|}}}|brdr}}; background:{{Theme|{{{Theme|}}}|bkgd}}; -moz-border-radius:10px; padding:10px;"><!--
--><div style="width:250px; float:right; clear:none; margin:1em 0 1em 1em; border:1px solid {{Tema|{{{Tema|}}}|brdr}}; background:{{Tema|{{{Tema|}}}|bkgd}}; -moz-border-radius:10px; padding:10px;"><!--


Little Help Icon
Little Help Icon
Rad 15: Rad 15:


Title/Image Area
Title/Image Area
--><div style="text-align:center; font-size:16px; font-weight:900; line-height:1.5em;">{{#if: {{{Title|}}} | {{{Title}}} | {{#if: {{{CurrentAlias|}}} | {{#ifexist: {{{CurrentAlias}}} | [[{{{CurrentAlias}}}]] | {{{CurrentAlias}}} }}{{#if: {{{CurrentAliasRef|}}} | {{{CurrentAliasRef}}} }} | {{#if: {{{RealName|}}} | {{#ifexist: {{{RealName}}} | [[{{{RealName}}}]] | {{{RealName}}} }} | {{PAGENAME}} }} }} }}
--><div style="text-align:center; font-size:16px; font-weight:900; line-height:1.5em;">{{#if: {{{Titel|}}} | {{{Titel}}} | {{#if: {{{Alias|}}} | {{#ifexist: {{{Alias}}} | [[{{{Alias}}}]] | {{{Alias}}} }}{{#if: {{{AliasRef|}}} | {{{AliasRef}}} }} | {{#if: {{{CiviltNamn|}}} | {{#ifexist: {{{CiviltNamn}}} | [[{{{CiviltNamn}}}]] | {{{CiviltNamn}}} }} | {{PAGENAME}} }} }} }}
<div style="text-align:center;font-size:10px;font-weight:900;line-height:1em;"><br /></div>
<div style="text-align:center;font-size:10px;font-weight:900;line-height:1em;"><br /></div>
<div id="templateimage">{{#if:{{{Image|}}}|[[File:{{#replace:{{#replace:{{#setmainimage:{{{Image}}}}}|{{CloseBrackets}}}}|{{OpenBrackets}}File:}}|{{#if:{{{ImageSize|}}}|{{#if:{{#pos:{{{ImageSize}}}|px}}|{{#ifexpr:{{#replace:{{{ImageSize}}}|px}}>250|250|{{#replace:{{{ImageSize}}}|px}}}}|{{#ifexpr:{{{ImageSize}}}>250|250|{{{ImageSize}}}}}|200}}|200}}px|center|{{#if: {{{AltText|}}}|alt={{{AltText}}}|alt={{{CurrentAlias}}}}}|{{#if: {{{ImageText|}}} | {{{ImageText}}} | {{PAGENAME}} }}]]}}</div>{{#if: {{{Image|}}} | <div style="text-align:center;font-size:14px;font-weight:900;line-height:2.5em;">{{#if: {{{Gallery|}}} | [[{{{Gallery}}}|Gallery]] | [[{{PAGENAME}}/Gallery|Gallery]] }}<br /></div> }}</div><!--
<div id="templateimage">{{#if:{{{Bild|}}}|[[Fil:{{#replace:{{#replace:{{#setmainimage:{{{Bild}}}}}|{{CloseBrackets}}}}|{{OpenBrackets}}Fil:}}|{{#if:{{{BildStorl|}}}|{{#if:{{#pos:{{{BildStorl}}}|px}}|{{#ifexpr:{{#replace:{{{BildStorl}}}|px}}>250|250|{{#replace:{{{BildStorl}}}|px}}}}|{{#ifexpr:{{{BildStorl}}}>250|250|{{{BildStorl}}}}}|200}}|200}}px|center|{{#if: {{{AltText|}}}|alt={{{AltText}}}|alt={{{Alias}}}}}|{{#if: {{{BildText|}}} | {{{BildText}}} | {{PAGENAME}} }}]]}}</div>{{#if: {{{Bild|}}} | <div style="text-align:center;font-size:14px;font-weight:900;line-height:2.5em;">{{#if: {{{Galleri|}}} | [[{{{Galleri}}}|Galleri]] | [[{{PAGENAME}}/Galleri|Galleri]] }}<br /></div> }}</div><!--


-->{{Infobox Line
-->{{Infobox Line
| Theme  = {{#if: {{{Theme|}}} | {{{Theme}}} }}
| Theme  = {{#if: {{{Tema|}}} | {{{Tema}}} }}
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Real Name }}
| left  = {{InfoKnapp | Real Name }}
| right  = {{#if: {{{RealName|}}}
| right  = {{#if: {{{RealName|}}}
             | {{#ifexist: {{{RealName}}}  
             | {{#ifexist: {{{RealName}}}  
Rad 41: Rad 41:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Current Alias }}
| left  = {{InfoKnapp | Current Alias }}
| right  = {{#ifexist: {{{CurrentAlias}}}  
| right  = {{#ifexist: {{{CurrentAlias}}}  
             | [[{{{CurrentAlias}}}]]  
             | [[{{{CurrentAlias}}}]]  
Rad 54: Rad 54:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Aliases }}
| left  = {{InfoKnapp | Aliases }}
| right  = {{{Aliases}}}
| right  = {{{Aliases}}}
}} }}<!--
}} }}<!--
Rad 61: Rad 61:
     | {{#ifexpr: {{#len:{{{Relatives|0}}}}} > 500  
     | {{#ifexpr: {{#len:{{{Relatives|0}}}}} > 500  
         | {{Navigation
         | {{Navigation
             | title      = <span style="font-size: 10px; font-weight: normal;">{{InfoButton | Relatives }}</span>
             | title      = <span style="font-size: 10px; font-weight: normal;">{{InfoKnapp | Relatives }}</span>
             | extrastyle = width:100%; margin:0px; border:none; border-top:1px solid {{Theme|{{{Theme|}}}|brdr}}; text-align:right; font-size: 10px;  
             | extrastyle = width:100%; margin:0px; border:none; border-top:1px solid {{Theme|{{{Theme|}}}|brdr}}; text-align:right; font-size: 10px;  
             | body      = {{{Relatives}}}
             | body      = {{{Relatives}}}
Rad 69: Rad 69:
             | width  = 90px
             | width  = 90px
             | widthr = 160px
             | widthr = 160px
             | left  = {{InfoButton | Relatives }}
             | left  = {{InfoKnapp | Relatives }}
             | right  = {{{Relatives}}}
             | right  = {{{Relatives}}}
             }}  
             }}  
Rad 79: Rad 79:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Affiliation }}
| left  = {{InfoKnapp | Affiliation }}
| right  = {{{Affiliation}}}
| right  = {{{Affiliation}}}
}} }}<!--
}} }}<!--
Rad 86: Rad 86:
     | {{#ifexpr: {{#len:{{{BaseOfOperations|0}}}}} > 500  
     | {{#ifexpr: {{#len:{{{BaseOfOperations|0}}}}} > 500  
         | {{Navigation
         | {{Navigation
             | title      = <span style="font-size: 10px; font-weight: normal;">{{InfoButton | Base Of Operations }}</span>
             | title      = <span style="font-size: 10px; font-weight: normal;">{{InfoKnapp | Base Of Operations }}</span>
             | extrastyle = width:100%; margin:0px; border:none; border-top:1px solid {{Theme|{{{Theme|}}}|brdr}}; text-align:right; font-size: 10px;  
             | extrastyle = width:100%; margin:0px; border:none; border-top:1px solid {{Theme|{{{Theme|}}}|brdr}}; text-align:right; font-size: 10px;  
             | body      = {{{BaseOfOperations}}}
             | body      = {{{BaseOfOperations}}}
Rad 94: Rad 94:
             | width  = 110px
             | width  = 110px
             | widthr = 140px
             | widthr = 140px
             | left  = {{InfoButton | Base Of Operations }}
             | left  = {{InfoKnapp | Base Of Operations }}
             | right  = {{{BaseOfOperations}}}
             | right  = {{{BaseOfOperations}}}
             }}  
             }}  
Rad 114: Rad 114:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Alignment }}
| left  = {{InfoKnapp | Alignment }}
| right  = {{#if: {{{Alignment|}}}  
| right  = {{#if: {{{Alignment|}}}  
             | {{#switch: {{lc:{{{Alignment}}}}}
             | {{#switch: {{lc:{{{Alignment}}}}}
Rad 128: Rad 128:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Identity }}
| left  = {{InfoKnapp | Identity }}
| right  = [[:Category:{{{Identity}}} Identity|{{{Identity}}} Identity]][[Category:{{{Identity}}} Identity]]
| right  = [[:Category:{{{Identity}}} Identity|{{{Identity}}} Identity]][[Category:{{{Identity}}} Identity]]
}} }}<!--
}} }}<!--
Rad 136: Rad 136:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Race }}
| left  = {{InfoKnapp | Race }}
| right  = {{#if: {{#explode:{{{AlienRace|}}}|;|1}}
| right  = {{#if: {{#explode:{{{AlienRace|}}}|;|1}}
             | [[:Category:{{Race|{{#explode:{{{AlienRace}}}|;}}}}|{{#explode:{{{AlienRace}}}|;}}]], [[:Category:{{Race|{{#explode:{{{AlienRace}}}|;|1}}}}|{{#explode:{{{AlienRace}}}|;|1}}]][[Category:{{Race|{{#explode:{{{AlienRace}}}|;}}}}]][[Category:{{Race|{{#explode:{{{AlienRace}}}|;|1}}}}]]
             | [[:Category:{{Race|{{#explode:{{{AlienRace}}}|;}}}}|{{#explode:{{{AlienRace}}}|;}}]], [[:Category:{{Race|{{#explode:{{{AlienRace}}}|;|1}}}}|{{#explode:{{{AlienRace}}}|;|1}}]][[Category:{{Race|{{#explode:{{{AlienRace}}}|;}}}}]][[Category:{{Race|{{#explode:{{{AlienRace}}}|;|1}}}}]]
Rad 147: Rad 147:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Citizenship }}
| left  = {{InfoKnapp | Citizenship }}
| right  = {{#if: {{{Citizenship|}}}  
| right  = {{#if: {{{Citizenship|}}}  
             | {{#if: {{#replace: {{#expr: {{#len: {{Ctzen|{{{Citizenship}}}}} }} > 22 }} |0|}}  
             | {{#if: {{#replace: {{#expr: {{#len: {{Ctzen|{{{Citizenship}}}}} }} > 22 }} |0|}}  
Rad 168: Rad 168:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Marital Status }}
| left  = {{InfoKnapp | Marital Status }}
| right  = {{#if: {{#pos:{{{MaritalStatus}}}|;}}
| right  = {{#if: {{#pos:{{{MaritalStatus}}}|;}}
             | {{#switch: {{lc:{{#explode:{{{MaritalStatus}}}|;}}}}
             | {{#switch: {{lc:{{#explode:{{{MaritalStatus}}}|;}}}}
Rad 191: Rad 191:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Occupation }}
| left  = {{InfoKnapp | Occupation }}
| right  = {{{Occupation}}}<!--
| right  = {{{Occupation}}}<!--


Rad 262: Rad 262:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Gender }}
| left  = {{InfoKnapp | Gender }}
| right  = [[:Category:{{{Gender}}} Characters|{{{Gender}}}]][[Category:{{{Gender}}} Characters]]
| right  = [[:Category:{{{Gender}}} Characters|{{{Gender}}}]][[Category:{{{Gender}}} Characters]]
}} }}<!--
}} }}<!--
Rad 270: Rad 270:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Height }}
| left  = {{InfoKnapp | Height }}
| right  = {{#if: {{{Height|}}}  
| right  = {{#if: {{{Height|}}}  
   | {{#ifexpr: {{#len: {{{Height|}}} }} > 11  
   | {{#ifexpr: {{#len: {{{Height|}}} }} > 11  
Rad 314: Rad 314:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Weight }}
| left  = {{InfoKnapp | Weight }}
| right  = {{#ifexpr: {{#len: {{{Weight|}}} }} > 17  
| right  = {{#ifexpr: {{#len: {{{Weight|}}} }} > 17  
   | {{{Weight|}}}
   | {{{Weight|}}}
Rad 340: Rad 340:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Eyes }}
| left  = {{InfoKnapp | Eyes }}
| right  = {{#if: {{{Eyes|}}}  
| right  = {{#if: {{{Eyes|}}}  
             | {{#switch: {{lc:{{{Eyes}}}}}
             | {{#switch: {{lc:{{{Eyes}}}}}
Rad 357: Rad 357:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Hair }}
| left  = {{InfoKnapp | Hair }}
| right  = {{#if: {{{Hair|}}}  
| right  = {{#if: {{{Hair|}}}  
             | {{#switch: {{lc:{{{Hair}}}}}
             | {{#switch: {{lc:{{{Hair}}}}}
Rad 382: Rad 382:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Skin }}
| left  = {{InfoKnapp | Skin }}
| right  = {{#if: {{{UnusualSkinColour|}}}  
| right  = {{#if: {{{UnusualSkinColour|}}}  
             | {{#switch: {{lc:{{{UnusualSkinColour}}}}}
             | {{#switch: {{lc:{{{UnusualSkinColour}}}}}
Rad 397: Rad 397:
| width  = 100px
| width  = 100px
| widthr = 150px
| widthr = 150px
| left  = {{InfoButton | Unusual Features }}
| left  = {{InfoKnapp | Unusual Features }}
| right  = {{{UnusualFeatures}}}<!--
| right  = {{{UnusualFeatures}}}<!--


Rad 426: Rad 426:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Universe }}
| left  = {{InfoKnapp | Universe }}
| right  = {{#if: {{#pos:{{{Universe}}}|;}}
| right  = {{#if: {{#pos:{{{Universe}}}|;}}
             | [[{{#explode:{{{Universe}}}|;}}]][[Category:{{#explode:{{{Universe}}}|;}} Characters]], [[{{#explode:{{{Universe}}}|;|1}}]][[Category:{{#explode:{{{Universe}}}|;|1}} Characters]]
             | [[{{#explode:{{{Universe}}}|;}}]][[Category:{{#explode:{{{Universe}}}|;}} Characters]], [[{{#explode:{{{Universe}}}|;|1}}]][[Category:{{#explode:{{{Universe}}}|;|1}} Characters]]
Rad 446: Rad 446:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Sector }}
| left  = {{InfoKnapp | Sector }}
| right  = {{#if: {{{Sector|}}}|[[Sector {{{Sector}}}|{{{Sector}}}]]| }}
| right  = {{#if: {{{Sector|}}}|[[Sector {{{Sector}}}|{{{Sector}}}]]| }}
}}{{Infobox Line
}}{{Infobox Line
Rad 452: Rad 452:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Partner }}
| left  = {{InfoKnapp | Partner }}
| right  = {{#if:{{{Partner|}}}|{{{Partner}}}| }}
| right  = {{#if:{{{Partner|}}}|{{{Partner}}}| }}
}}[[Category:Green Lantern Corps members]] }}<!--
}}[[Category:Green Lantern Corps members]] }}<!--
Rad 460: Rad 460:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Place of Birth }}
| left  = {{InfoKnapp | Place of Birth }}
| right  = {{#ifexist: {{Ctry|{{{PlaceOfBirth}}}}}
| right  = {{#ifexist: {{Ctry|{{{PlaceOfBirth}}}}}
             | [[{{Ctry|{{{PlaceOfBirth}}}}}]]
             | [[{{Ctry|{{{PlaceOfBirth}}}}}]]
Rad 469: Rad 469:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Place of Creation }}
| left  = {{InfoKnapp | Place of Creation }}
| right  = {{#ifexist: {{Ctry|{{{PlaceOfCreation}}}}}
| right  = {{#ifexist: {{Ctry|{{{PlaceOfCreation}}}}}
             | [[{{Ctry|{{{PlaceOfCreation}}}}}]]
             | [[{{Ctry|{{{PlaceOfCreation}}}}}]]
Rad 480: Rad 480:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Place of Death }}
| left  = {{InfoKnapp | Place of Death }}
| right  = {{#ifexist: {{{PlaceOfDeath|}}}
| right  = {{#ifexist: {{{PlaceOfDeath|}}}
             | [[{{Ctry|{{{PlaceOfDeath|}}}}}]]
             | [[{{Ctry|{{{PlaceOfDeath|}}}}}]]
Rad 495: Rad 495:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Place of Destruction }}
| left  = {{InfoKnapp | Place of Destruction }}
| right  = {{#ifexist: {{Ctry|{{{PlaceOfDestruction}}}}}
| right  = {{#ifexist: {{Ctry|{{{PlaceOfDestruction}}}}}
             | [[{{Ctry|{{{PlaceOfDestruction}}}}}]]
             | [[{{Ctry|{{{PlaceOfDestruction}}}}}]]
Rad 506: Rad 506:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Created by }}
| left  = {{InfoKnapp | Created by }}
| right  = {{#if: {{#pos:{{{Creators}}}|;}}
| right  = {{#if: {{#pos:{{{Creators}}}|;}}
             | {{#if: {{#explode:{{{Creators}}}|;|0}}  
             | {{#if: {{#explode:{{{Creators}}}|;|0}}  
Rad 532: Rad 532:
| width  = 90px
| width  = 90px
| widthr = 160px
| widthr = 160px
| left  = {{InfoButton | Original Publisher }}
| left  = {{InfoKnapp | Original Publisher }}
| right  = {{{OriginalPublisher}}}<!--
| right  = {{{OriginalPublisher}}}<!--


Rad 730: Rad 730:
--></includeonly><noinclude>
--></includeonly><noinclude>
__TOC__
__TOC__
{{Framework}}
{{Struktur}}
__NOEDITSECTION__
__NOEDITSECTION__
[[Category:Templates|C {{PAGENAME}}]]
[[Kategori:Mallar|K {{PAGENAME}}]]
[[Category:Page Templates|{{PAGENAME}}]]
[[Kategori:Sidmallar|{{PAGENAME}}]]
{{{{FULLPAGENAME}}/Documentation}}
{{{{FULLPAGENAME}}/Dokumentation}}
</noinclude>
</noinclude>

Versionen från 24 juni 2013 kl. 11.47

Varning!

Den här sidan är en viktig del i wikins uppbyggnad. Om den ändras kan det påverka ett flertal sidor.

Mall:Karaktär/Dokumentation