Template:Community: Difference between revisions

From softwear.directory
Jump to navigation Jump to search
No edit summary
directory>Admin
No edit summary
Line 12: Line 12:
|Description=
|Description=
|Date=
|Date=
|Homepage text
|Featured=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>__NOTITLE____NOTOC__{{#default_form:Community}}{{#set: Class=Community
</noinclude><includeonly>{{Header without filters}}
{{#default_form:Community}}{{#set: Class=Community
|Name={{{Name|}}}
|Name={{{Name|}}}
|External reference={{{External reference|}}}
|External reference={{{External reference|}}}
Line 26: Line 25:
|Description={{{Description|}}}
|Description={{{Description|}}}
|Date={{{Date|}}}
|Date={{{Date|}}}
|Homepage text={{{Homepage text|}}}
}}
|Featured={{{Featured|}}}
<div class="community-card community-page">
}}{{Header}}<br><br>
    {{#if: {{{Name|}}} | <div class="community-name">[{{{External reference|}}} {{{Name|}}}]</div>| }}
{| class="formtable"
    {{#if: {{{Setting|}}} | <div class="community-setting">{{{Setting|}}}</div>| }}
! Name
    {{#if: {{{Location|}}} | <div class="community-location">{{{Location|}}}</div>| }}
|-
    {{#if: {{{Type|}}} | <div class="community-type">{{{Type|}}}</div>| }}
|{{{Name|}}}
    {{#if: {{{Domain|}}} | <div class="community-domain">{{{Domain|}}}</div>| }}
|-
    {{#if: {{{Description|}}} | <p class="community-description-label">DESCRIPTION</p><div class="community-description">“{{{Description|}}}”</div>| }}
! {{#if: {{{External reference|}}} | External reference  | }}
</div>
|-
|{{{External reference|}}}
|-
! {{#if: {{{Location|}}} | Location  | }}
|-
|{{{Location|}}}
|-
! {{#if: {{{Setting|}}} | Setting  | }}
|-
|{{{Setting|}}}
|-
! {{#if: {{{Type|}}} | Type  | }}
|-
|{{{Type|}}}
|-
! {{#if: {{{Domain|}}} | Domain  | }}
|-
|{{{Domain|}}}
|-
! {{#if: {{{Date|}}} | Date  | }}
|-
|{{{Date|}}}
|-
! {{#if: {{{Description|}}} | Description  | }}
|-
|{{{Description|}}}
|-
! {{#if: {{{Homepage text|}}} | Homepage text  | }}
|-
|{{{Homepage text|}}}
|-
! {{#if: {{{Featured|}}} | Featured  | }}
|-
|{{{Featured|}}}
|-
|}


<div class="footer">
    <div class="simpleSearch">{{#widget:Searchbar}}</div>
    <div class="submitEntry">[{{#widget: Button link|href=mailto:webdesign@example.com|buttontext=Send me an email}}]</div>
</div>
[[Category:Community]]
[[Category:Community]]
</includeonly>
</includeonly>

Revision as of 14:29, 13 March 2024

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

{{Community
|Name=
|External reference=
|Location=
|Setting=
|Type=
|Domain=
|Description=
|Date=
}}

Edit the page to see the template text.