Difference between revisions of "Template:Portal"

 
m (1 revision imported)
 

Layout items[edit source]

Layout styles[edit source]

Hint: You may need to change content model. This can be done at Special:ChangeContentModel

How to use[edit source]

You may need to add custom styles. E.g. <templatestyles src="Portal_HowToUse.css" />

Hint: You may need to change content model. This can be done at Special:ChangeContentModel

Container without cells[edit source]

{{Portal/ContainerOpen|col=1}} lorem ipsum{{Portal/ContainerClose}}


lorem ipsum

Container with cells[edit source]

{{Portal/ContainerOpen|col=2}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}

lorem
ipsum


{{Portal/ContainerOpen|col=3}}{{Portal/CellOpen}}lorem{{Portal/CellClose}} {{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}

lorem
ipsum
dolor


{{Portal/ContainerOpen|col=3|colspan=colspan-2-left}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}

lorem
ipsum


{{Portal/ContainerOpen|col=3|colspan=colspan-2-right}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}

lorem
ipsum


{{Portal/ContainerOpen|col=4}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/CellOpen}}amet{{Portal/CellClose}}{{Portal/ContainerClose}}

lorem
ipsum
dolor
amet


{{Portal/ContainerOpen|col=4|colspan=colspan-2-left}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}

lorem
ipsum
dolor


{{Portal/ContainerOpen|col=4|colspan=colspan-2-center}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}

lorem
ipsum
dolor


{{Portal/ContainerOpen|col=4|colspan=colspan-2-right}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}

lorem
ipsum
dolor


{{Portal/ContainerOpen|col=4|colspan=colspan-3-left}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}

lorem
ipsum


{{Portal/ContainerOpen|col=4|colspan=colspan-3-right}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}

lorem
ipsum
==Layout items==
        
        * [[Template:Portal/ContainerOpen]]
        
        * [[Template:Portal/ContainerClose]]
        
        * [[Template:Portal/CellOpen]]
        
        * [[Template:Portal/CellClose]]
        
        
        
        ==Layout styles==
        
        * [[Template:Portal/Layout.css]]
        
        
        
        Hint: You may need to change content model. This can be done at [[Special:ChangeContentModel|Special:ChangeContentModel]]
        
        
        
        ==How to use==
        
        You may need to add custom styles. E.g. <nowiki> <templatestyles src="Portal_HowToUse.css" /> </nowiki>
        
        
        
        Hint: You may need to change content model. This can be done at [[Special:ChangeContentModel|Special:ChangeContentModel]]
        
        
        
        
        <templatestyles src="Portal_HowToUse.css" />
        
        
        
        ===Container without cells===
        
        
        <nowiki>{{Portal/ContainerOpen|col=1}} lorem ipsum{{Portal/ContainerClose}}</nowiki>
        
        
        
        {{Portal/ContainerOpen|col=1}}lorem ipsum{{Portal/ContainerClose}}
        
        
        
        ===Container with cells===
        
        
        <nowiki>{{Portal/ContainerOpen|col=2}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}</nowiki>
        
        {{Portal/ContainerOpen|col=2}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}
        
        
        
        
        
        
        <nowiki>{{Portal/ContainerOpen|col=3}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}
        
        {{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}</nowiki>
        
        {{Portal/ContainerOpen|col=3}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}
        
        
        
        
        
        
        <nowiki>{{Portal/ContainerOpen|col=3|colspan=colspan-2-left}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}</nowiki>
        
        {{Portal/ContainerOpen|col=3|colspan=colspan-2-left}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}
        
        
        
        
        
        
        <nowiki>{{Portal/ContainerOpen|col=3|colspan=colspan-2-right}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}</nowiki>
        
        {{Portal/ContainerOpen|col=3|colspan=colspan-2-right}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}
        
        
        
        
        
        
        <nowiki>{{Portal/ContainerOpen|col=4}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/CellOpen}}amet{{Portal/CellClose}}{{Portal/ContainerClose}}</nowiki>
        
        {{Portal/ContainerOpen|col=4}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/CellOpen}}amet{{Portal/CellClose}}{{Portal/ContainerClose}}
        
        
        
        
        
        
        <nowiki>{{Portal/ContainerOpen|col=4|colspan=colspan-2-left}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}</nowiki>
        
        {{Portal/ContainerOpen|col=4|colspan=colspan-2-left}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}
        
        
        
        
        
        
        <nowiki>{{Portal/ContainerOpen|col=4|colspan=colspan-2-center}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}</nowiki>
        
        {{Portal/ContainerOpen|col=4|colspan=colspan-2-center}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}
        
        
        
        
        
        
        <nowiki>{{Portal/ContainerOpen|col=4|colspan=colspan-2-right}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}</nowiki>
        
        {{Portal/ContainerOpen|col=4|colspan=colspan-2-right}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/CellOpen}}dolor{{Portal/CellClose}}{{Portal/ContainerClose}}
        
        
        
        
        
        
        <nowiki>{{Portal/ContainerOpen|col=4|colspan=colspan-3-left}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}</nowiki>
        
        {{Portal/ContainerOpen|col=4|colspan=colspan-3-left}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}
        
        
        
        
        
        
        <nowiki>{{Portal/ContainerOpen|col=4|colspan=colspan-3-right}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}</nowiki>
        
        {{Portal/ContainerOpen|col=4|colspan=colspan-3-right}}{{Portal/CellOpen}}lorem{{Portal/CellClose}}{{Portal/CellOpen}}ipsum{{Portal/CellClose}}{{Portal/ContainerClose}}
(No difference)

Attachments

Discussions