Template:Type: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>__NOTITLE____NOTOC__
</noinclude><includeonly>
__NOTOC__{{Header}}
<div class="view-container-buttons">
{{View buttons}}{{Order_list_buttons}}{{Order_block_buttons}}
</div>
{{#set: Class=Type
{{#set: Class=Type
|Typename={{{Typename|}}}
|Typename={{{Typename|}}}
}}  
}}  
{{{Typename|}}}
<div class="list-view">
 
    <div class="chronicle-list">
{{#ask: [[Class::Entry]] [[Type::{{{Typename|}}}]]
        <div class="list-container list-view-on">
|?People
            <div id="list-list-1">
|?Title
            {{#ask: [[Class::Entry]] [[Type::{{{Typename|}}}]]
|?Type
            |?=Entry number
|?Modification date
            |?People
|format=formtable
            |?Title
|limit=10
            |?Link
|offset=
            |?Type|+filter=value|+value filter max checkboxes=50
|searchlabel=
            |?Entity|+filter=value|+value filter switches=on off
|named args=yes
            |?Discipline|+filter=value|+value filter max checkboxes=50
}}
            |?Subject|+filter=value|+value filter max checkboxes=50
            |?Description
            |?Reflection
            |?Quote
            |?Image
            |?CaptionImage
            |?Image2
            |?CaptionImage2
            |?Image3
            |?CaptionImage3
            |?Image4
            |?CaptionImage4
            |?Image5
            |?CaptionImage5
            |?Modification date
            |format=filtered
            |filter position=top
            |views=list
            |list view template=ShowEntriesAuthorList
            |list view named args=no
            |list view type=list
            |link=none
            |limit=100
            |valuesep=;
            |sort=Entry number
            |order=descending
            }}
            </div>
        {{Nrs}}
        </div>
    </div>
    <div class="random-list">
        <div class="list-container">
            <div id="list-list-2">
            {{#ask: [[Class::Entry]] [[Type::{{{Typename|}}}]]
            |?=Entry number
            |?People
            |?Title
            |?Link
            |?Type|+filter=value|+value filter max checkboxes=50
            |?Entity|+filter=value|+value filter switches=on off
            |?Discipline|+filter=value|+value filter max checkboxes=50
            |?Subject|+filter=value|+value filter max checkboxes=50
            |?Description
            |?Reflection
            |?Quote
            |?Image
            |?CaptionImage
            |?Image2
            |?CaptionImage2
            |?Image3
            |?CaptionImage3
            |?Image4
            |?CaptionImage4
            |?Image5
            |?CaptionImage5
            |?Modification date
            |format=filtered
            |filter position=top
            |views=list
            |list view template=ShowEntriesAuthorList
            |list view named args=no
            |list view type=list
            |link=none
            |limit=100
            |valuesep=;
            |order=random
            }}
            </div>
        {{Nrs}}
        </div>
    </div>
    <div class="alphabetical-list">
        <div class="list-container">
            <div id="list-list-3">
            {{#ask: [[Class::Entry]] [[Type::{{{Typename|}}}]]
            |?=Entry number
            |?People
            |?Title
            |?Link
            |?Type|+filter=value|+value filter max checkboxes=50
            |?Entity|+filter=value|+value filter switches=on off
            |?Discipline|+filter=value|+value filter max checkboxes=50
            |?Subject|+filter=value|+value filter max checkboxes=50
            |?Description
            |?Reflection
            |?Quote
            |?Image
            |?CaptionImage
            |?Image2
            |?CaptionImage2
            |?Image3
            |?CaptionImage3
            |?Image4
            |?CaptionImage4
            |?Image5
            |?CaptionImage5
            |?Modification date
            |format=filtered
            |filter position=top
            |views=list
            |list view template=ShowEntriesAuthorList
            |list view named args=no
            |list view type=list
            |link=none
            |limit=100
            |valuesep=;
            |sort=Title
            |order=asc, dsc
            }}
            </div>
        {{Nrs}}
        </div>
    </div>
</div>
<div class="block-view">
    <div class="chronicle-block">
        <div class="list-container">
            <div id="list-block-1">
            {{#ask: [[Class::Entry]] [[Type::{{{Typename|}}}]]
            |?=Entry number
            |?People
            |?Title
            |?Link
            |?Type|+filter=value|+value filter max checkboxes=50
            |?Entity|+filter=value|+value filter switches=on off
            |?Discipline|+filter=value|+value filter max checkboxes=50
            |?Subject|+filter=value|+value filter max checkboxes=50
            |?Description
            |?Reflection
            |?Quote
            |?Image
            |?CaptionImage
            |?Image2
            |?CaptionImage2
            |?Image3
            |?CaptionImage3
            |?Image4
            |?CaptionImage4
            |?Image5
            |?CaptionImage5
            |?Modification date
            |format=filtered
            |filter position=top
            |views=list
            |list view template=ShowEntriesAuthorBlock
            |list view named args=no
            |list view type=list
            |link=none
            |limit=100
            |valuesep=;
            |sort=Entry number
            |order=descending
            }}
            </div>
        {{Nrs}}
        </div>
    </div>
    <div class="random-block">
        <div class="list-container">
            <div id="list-block-2">
            {{#ask: [[Class::Entry]] [[Type::{{{Typename|}}}]]
            |?=Entry number
            |?People
            |?Title
            |?Link
            |?Type|+filter=value|+value filter max checkboxes=50
            |?Entity|+filter=value|+value filter switches=on off
            |?Discipline|+filter=value|+value filter max checkboxes=50
            |?Subject|+filter=value|+value filter max checkboxes=50
            |?Description
            |?Reflection
            |?Quote
            |?Image
            |?CaptionImage
            |?Image2
            |?CaptionImage2
            |?Image3
            |?CaptionImage3
            |?Image4
            |?CaptionImage4
            |?Image5
            |?CaptionImage5
            |?Modification date
            |format=filtered
            |filter position=top
            |views=list
            |list view template=ShowEntriesAuthorBlock
            |list view named args=no
            |list view type=list
            |link=none
            |limit=100
            |valuesep=;
            |order=random
            }}
            </div>
        {{Nrs}}
        </div>
    </div>
    <div class="alphabetical-block">
        <div class="list-container">
            <div id="list-block-3">
            {{#ask: [[Class::Entry]] [[Type::{{{Typename|}}}]]
            |?=Entry number
            |?People
            |?Title
            |?Link
            |?Type|+filter=value|+value filter max checkboxes=50
            |?Entity|+filter=value|+value filter switches=on off
            |?Discipline|+filter=value|+value filter max checkboxes=50
            |?Subject|+filter=value|+value filter max checkboxes=50
            |?Description
            |?Reflection
            |?Quote
            |?Image
            |?CaptionImage
            |?Image2
            |?CaptionImage2
            |?Image3
            |?CaptionImage3
            |?Image4
            |?CaptionImage4
            |?Image5
            |?CaptionImage5
            |?Modification date
            |format=filtered
            |filter position=top
            |views=list
            |list view template=ShowEntriesAuthorBlock
            |list view named args=no
            |list view type=list
            |link=none
            |limit=100
            |valuesep=;
            |sort=Title
            |order=asc, dsc
            }}
            </div>
        {{Nrs}}
        </div>
    </div>
</div>


<div id="show-article-wrapper">
    <div id="show-article">
        <div id="show-article-before"></div>
        <div id="close-button">[close]</div>
        <div id="article-title"></div>
        <div id="article-content"></div>
    </div>
    <div id="article-frame"></div>
    <div id="related-articles"></div>
</div>
<div class="footer">
    <div class="simpleSearch">{{#widget:Searchbar}}</div>
    <div class="nrs"><div class="button-open-nrs">{{#widget: Button link|buttontext=[ Nr.s ]}}</div></div>
</div>
[[Category:Types]]
[[Category:Types]]
</includeonly>
</includeonly>

Revision as of 14:44, 28 January 2024

This is the "Type" template. It should be called in the following format:

{{Type
|Typename=
}}

Edit the page to see the template text.