Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
 
(57 tussenliggende versies door 3 gebruikers niet weergegeven)
Regel 4: Regel 4:
This is the "BB Query" template.
This is the "BB Query" template.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{BB Query  
{{BB Query
|show create button=
|pagenames=
|formatter=
|formatter=
|lead=
|lead=
|title=
|title=
|label=
|form=
|form=
|concept=
|concept=
Regel 18: Regel 20:
|event type=
|event type=
|container page=
|container page=
|show create button=
|show date=
|show date=
|show button=
|show button=
|link create text=
|link create text=
|link more text=
|read more page=
}}
}}
</pre>
</pre>
</noinclude><includeonly>__NOTOC__{{#if:{{{lead|}}}|<p class="lead mb-l">{{{lead|}}}</p><!--
</noinclude><includeonly>__NOTOC__{{#if:{{{lead|}}}|<p class="lead">{{{lead|}}}</p><!--
-->|}}
-->|}}
<div class="emm-hide-me-inside-ve">
{{#ifeq:{{{show create button}}}|true|{{#if:{{CURRENTLOGGEDUSER}}|<div class="actionbar">
{{#ifeq:{{{show create button}}}|true|{{#if:{{CURRENTLOGGEDUSER}}|<div class="actionbar">
{{#formlink:form={{{form|}}}
{{#formlink:form={{{form|}}}
Regel 36: Regel 42:
}}</div>
}}</div>
|}}
|}}
|}}<!--
|}}</div>
-->{{#vardefine:list|{{{pagenames|{{#ask:[[Concept:{{{concept|}}}]]
<!--
-->{{#vardefine:list|{{{pagenames|{{#ask:{{{query|[[Concept:{{{concept|}}}]]}}}
|link=none
|link=none
|limit={{{limit|}}}
|limit={{{limit|3}}}
|sort={{{sort|}}}
|sort={{{sort|}}}
|order={{{order|}}}
|order={{{order|}}}
Regel 46: Regel 53:
}}}
}}}
}}<!--
}}<!--
-->{{{{{formatter|}}} header |lead={{{title|}}} }}<!--
-->{{ {{{formatter|}}} header |title={{{title|}}} }}<!--
-->{{#arraymap:{{#var:list}}|,|item|
-->{{#arraymap:{{#var:list}}|,|item|
{{{{{formatter|}}}
{{{{{formatter|}}}
|pagename=item
|pagename=item
|projectcode={{{projectcode|}}}
|archive={{{archive|}}}
|label={{{label|}}}
|show button={{{show button|}}}
|show button={{{show button|}}}
|show date={{{show date|}}}
|show date={{{show date|}}}
}}|}}<!--
}}|}}<!--
-->{{{{{formatter|}}} footer  
-->{{{{{formatter|}}} footer  
|link more text={{{link more text}}}  
|link more text={{{link more text|{{int:EMM Text Read more}}}}}  
|container page={{{container page}}}
|read more page={{{read more page|}}}
}}</includeonly>
}}</includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
  "params": {
"params": {
    "lead": {
"lead": {
      "label": {
"label": {
        "nl": "Titel",
"nl": "Leadtekst",
        "en": "Title"
"en": "Title"
      },
},
      "description": {
"description": {
        "nl": "Titel boven Bouw Blok",
"nl": "(Inleidende) tekst boven het blok",
        "en": "Title above Building Block"
"en": "Title above Building Block"
      }
}
    },
},
    "title": {
"title": {
      "label": {
"label": {
        "nl": "Titel header FMT Featured",
"nl": "Titel header FMT Featured",
        "en": "Title heading FMT Featured"
"en": "Title heading FMT Featured"
      },
},
      "description": {
"description": {
        "nl": "Titel headingFMT Featured",
"nl": "Titel headingFMT Featured",
        "en": "Title heading FMT Featured"
"en": "Title heading FMT Featured"
      }
}
    },
},
    "show create button": {
"show create button": {
      "label": {
"label": {
        "nl": "Nieuw item aanmaken knop",
"nl": "Nieuw item aanmaken knop",
        "en": "Create new item button"
"en": "Create new item button"
      },
},
      "description": {
"description": {
        "nl": "Nieuw item aanmaken knop",
"nl": "Nieuw item aanmaken knop",
        "en": "Create new item button"
"en": "Create new item button"
      }
}
    },
},
    "form": {
"form": {
      "label": {
"label": {
        "nl": "Formulier",
"nl": "Formulier",
        "en": "Form"
"en": "Form"
      },
},
      "description": {
"description": {
        "nl": "Te gebruiken formulier",
"nl": "Te gebruiken formulier",
        "en": "Form create items"
"en": "Form create items"
      }
}
    },
},
    "category": {
"category": {
      "label": {
"label": {
        "nl": "Categorie",
"nl": "Categorie",
        "en": "Category"
"en": "Category"
      },
},
      "description": {
"description": {
        "nl": "Categorie",
"nl": "Categorie",
        "en": "Category"
"en": "Category"
      }
}
    },
},
    "container page": {
"container page": {
      "label": {
"label": {
        "nl": "Pagina",
"nl": "Pagina",
        "en": "Container page"
"en": "Container page"
      }
},
    },
"description": "Bovenste pagina",
    "event type": {
"type": "wiki-page-name"
      "label": {
},
        "nl": "Event soort",
"event type": {
        "en": "Event type"
"label": {
      },
"nl": "Event soort",
      "description": {
"en": "Event type"
        "nl": "Event soort(News, Event)",
},
        "en": "Type news(News, Event)"
"description": {
      }
"nl": "Event soort(News, Event)",
    },
"en": "Type news(News, Event)"
    "link create text": {
}
      "label": {
},
        "nl": "Text link item toevoegen",
"link create text": {
        "en": "Link create text"
"label": {
      },
"nl": "Text link item toevoegen",
      "description": {
"en": "Link create text"
        "nl": "Text link naar het formulier",
},
        "en": "Text link to form"
"description": {
      },
"nl": "Text link naar het formulier",
      "suggested": true
"en": "Text link to form"
    },
},
    "formatter": {
"suggested": true
      "label": {
},
        "nl": "Formatter",
"formatter": {
        "en": "Formatter"
"label": {
      },
"nl": "Formatter",
      "description": {
"en": "Formatter"
        "nl": "Te gebruiken formatter",
},
        "en": "Choose formatter"
"description": {
      },
"nl": "Te gebruiken formatter",
      "example": "FMT Card, FMT Card cover, FMT List, FMT Item, FMT Featured",
"en": "Choose formatter"
      "required": true
},
    },
"example": "FMT Card, FMT Card cover, FMT List, FMT Item, FMT Featured",
    "concept": {
"required": true
      "label": "Concept",
},
      "description": {
"concept": {
        "nl": "Mediawiki Concept te gebruiken in een ask query",
"label": "Concept",
        "en": "Mediawiki Concept selection part of ask query"
"description": {
      },
"nl": "Mediawiki Concept te gebruiken in een ask query",
      "suggested": true
"en": "Mediawiki Concept selection part of ask query"
    },
},
    "limit": {
"suggested": true,
      "label": {
"autovalue": ""
        "nl": "Limiet",
},
        "en": "Limit"
"limit": {
      },
"label": {
      "description": {
"nl": "Limiet",
        "nl": "Limiet resultaten",
"en": "Limit"
        "en": "Result limit"
},
      },
"description": {
      "suggested": true
"nl": "Maximaal aantal resultaten",
    },
"en": "Result limit"
    "sort": {
},
      "label": {
"suggested": true,
        "nl": "Sortering",
"autovalue": "3",
        "en": "Sort order"
"required": true
      }
},
    },
"sort": {
    "order": {
"label": {
      "label": {
"nl": "Sortering",
        "nl": "Volgorde",
"en": "Sort order"
        "en": "Order"
},
      }
"suggested": true
    },
},
    "show button": {
"order": {
      "label": {
"label": {
        "nl": "Lees meer knop tonen",
"nl": "Volgorde",
        "en": "Show Read more button"
"en": "Order"
      },
},
      "description": "Lees meer knop tonen",
"suggested": true
      "example": "true",
},
      "autovalue": "true",
"show button": {
      "suggested": true
"label": {
    },
"nl": "Toon Meer-knop",
    "show date": {
"en": "Show Read more button"
      "label": {
},
        "nl": "Datum tonen",
"description": "Meer-knop tonen (ja/nee)",
        "en": "Show date"
"example": "true",
      },
"autovalue": "true",
      "description": {
"suggested": true
        "nl": "Datum tonen",
},
        "en": "Show date"
"show date": {
      },
"label": {
      "example": "true",
"nl": "Toon datum",
      "autovalue": "true",
"en": "Show date"
      "suggested": true
},
    }
"description": {
  }
"nl": "Datum tonen",
"en": "Show date"
},
"example": "true",
"autovalue": "true",
"suggested": true
},
"pagenames": {
"label": "Pagenames"
},
"label": {
"label": "Label",
"description": "Tekst label in afbeelding",
"autovalue": ""
},
"link more text": {
"autovalue": "",
"label": "Tekst Meer-knop",
"description": "Tekst Meer-knop"
},
"query": {},
"read more page": {
"label": "Link Meer-knop",
"description": "Link Meer-knop"
}
},
"format": "\n{{_\n|_ = _\n}}\n",
"description": "BB Query",
"paramOrder": [
"formatter",
"concept",
"pagenames",
"lead",
"title",
"show create button",
"form",
"category",
"container page",
"event type",
"link create text",
"limit",
"sort",
"order",
"label",
"show date",
"show button",
"link more text",
"read more page",
"query"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Huidige versie van 4 nov 2024 om 13:18

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

{{BB Query
|pagenames=
|formatter=
|lead=
|title=
|label=
|form=
|concept=
|limit= 
|sort=
|order=
|category=
|event type=
|container page=
|show create button=
|show date=
|show button=
|link create text=
|link more text=
|read more page=
}}


BB Query

Sjabloonparameters

Dit sjabloon heeft een aangepaste opmaak.

ParameterBeschrijvingTypeStatus
Formatterformatter

Te gebruiken formatter

Voorbeeld
FMT Card, FMT Card cover, FMT List, FMT Item, FMT Featured
Onbekendvereist
Conceptconcept

Mediawiki Concept te gebruiken in een ask query

Automatische waarde
Onbekendvoorgesteld
Pagenamespagenames

geen beschrijving

Onbekendoptioneel
Leadtekstlead

(Inleidende) tekst boven het blok

Onbekendoptioneel
Titel header FMT Featuredtitle

Titel headingFMT Featured

Onbekendoptioneel
Nieuw item aanmaken knopshow create button

Nieuw item aanmaken knop

Onbekendoptioneel
Formulierform

Te gebruiken formulier

Onbekendoptioneel
Categoriecategory

Categorie

Onbekendoptioneel
Paginacontainer page

Bovenste pagina

Paginanaamoptioneel
Event soortevent type

Event soort(News, Event)

Onbekendoptioneel
Text link item toevoegenlink create text

Text link naar het formulier

Onbekendvoorgesteld
Limietlimit

Maximaal aantal resultaten

Automatische waarde
3
Onbekendvereist
Sorteringsort

geen beschrijving

Onbekendvoorgesteld
Volgordeorder

geen beschrijving

Onbekendvoorgesteld
Labellabel

Tekst label in afbeelding

Automatische waarde
Onbekendoptioneel
Toon datumshow date

Datum tonen

Voorbeeld
true
Automatische waarde
true
Onbekendvoorgesteld
Toon Meer-knopshow button

Meer-knop tonen (ja/nee)

Voorbeeld
true
Automatische waarde
true
Onbekendvoorgesteld
Tekst Meer-knoplink more text

Tekst Meer-knop

Automatische waarde
Onbekendoptioneel
Link Meer-knopread more page

Link Meer-knop

Onbekendoptioneel
queryquery

geen beschrijving

Onbekendoptioneel