Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
 
(61 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=
|label=
|form=
|form=
|concept=
|concept=
Regel 17: 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 35: 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 45: 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}}</includeonly>
-->{{{{{formatter|}}} footer  
|link more text={{{link more text|{{int:EMM Text Read more}}}}}
|read more page={{{read more page|}}}
}}</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"
      }
}
    },
},
    "show create button": {
"title": {
      "label": {
"label": {
        "nl": "Nieuw item aanmaken knop",
"nl": "Titel header FMT Featured",
        "en": "Create new item button"
"en": "Title heading FMT Featured"
      },
},
      "description": {
"description": {
        "nl": "Nieuw item aanmaken knop",
"nl": "Titel headingFMT Featured",
        "en": "Create new item button"
"en": "Title heading FMT Featured"
      }
}
    },
},
    "form": {
"show create button": {
      "label": {
"label": {
        "nl": "Formulier",
"nl": "Nieuw item aanmaken knop",
        "en": "Form"
"en": "Create new item button"
      },
},
      "description": {
"description": {
        "nl": "Te gebruiken formulier",
"nl": "Nieuw item aanmaken knop",
        "en": "Form create items"
"en": "Create new item button"
      }
}
    },
},
    "category": {
"form": {
      "label": {
"label": {
        "nl": "Categorie",
"nl": "Formulier",
        "en": "Category"
"en": "Form"
      },
},
      "description": {
"description": {
        "nl": "Categorie",
"nl": "Te gebruiken formulier",
        "en": "Category"
"en": "Form create items"
      }
}
    },
},
    "container page": {
"category": {
      "label": {
"label": {
        "nl": "Pagina",
"nl": "Categorie",
        "en": "Container page"
"en": "Category"
      }
},
    },
"description": {
    "event type": {
"nl": "Categorie",
      "label": {
"en": "Category"
        "nl": "Event soort",
}
        "en": "Event type"
},
      },
"container page": {
      "description": {
"label": {
        "nl": "Event soort(News, Event)",
"nl": "Pagina",
        "en": "Type news(News, Event)"
"en": "Container page"
      }
},
    },
"description": "Bovenste pagina",
    "link create text": {
"type": "wiki-page-name"
      "label": {
},
        "nl": "Text link item toevoegen",
"event type": {
        "en": "Link create text"
"label": {
      },
"nl": "Event soort",
      "description": {
"en": "Event type"
        "nl": "Text link naar het formulier",
},
        "en": "Text link to form"
"description": {
      },
"nl": "Event soort(News, Event)",
      "suggested": true
"en": "Type news(News, Event)"
    },
}
    "formatter": {
},
      "label": {
"link create text": {
        "nl": "Formatter",
"label": {
        "en": "Formatter"
"nl": "Text link item toevoegen",
      },
"en": "Link create text"
      "description": {
},
        "nl": "Te gebruiken formatter",
"description": {
        "en": "Choose formatter"
"nl": "Text link naar het formulier",
      },
"en": "Text link to form"
      "example": "FMT Card, FMT Card cover, FMT List, FMT Item, FMT Featured",
},
      "required": true
"suggested": true
    },
},
    "concept": {
"formatter": {
      "label": "Concept",
"label": {
      "description": {
"nl": "Formatter",
        "nl": "Mediawiki Concept te gebruiken in een ask query",
"en": "Formatter"
        "en": "Mediawiki Concept selection part of ask query"
},
      },
"description": {
      "suggested": true
"nl": "Te gebruiken formatter",
    },
"en": "Choose formatter"
    "limit": {
},
      "label": {
"example": "FMT Card, FMT Card cover, FMT List, FMT Item, FMT Featured",
        "nl": "Limiet",
"required": true
        "en": "Limit"
},
      },
"concept": {
      "description": {
"label": "Concept",
        "nl": "Limiet resultaten",
"description": {
        "en": "Result limit"
"nl": "Mediawiki Concept te gebruiken in een ask query",
      },
"en": "Mediawiki Concept selection part of ask query"
      "suggested": true
},
    },
"suggested": true,
    "sort": {
"autovalue": ""
      "label": {
},
        "nl": "Sortering",
"limit": {
        "en": "Sort order"
"label": {
      }
"nl": "Limiet",
    },
"en": "Limit"
    "order": {
},
      "label": {
"description": {
        "nl": "Volgorde",
"nl": "Maximaal aantal resultaten",
        "en": "Order"
"en": "Result limit"
      }
},
    },
"suggested": true,
    "show button": {
"autovalue": "3",
      "label": {
"required": true
        "nl": "Lees meer knop tonen",
},
        "en": "Show Read more button"
"sort": {
      },
"label": {
      "description": "Lees meer knop tonen",
"nl": "Sortering",
      "example": "true",
"en": "Sort order"
      "autovalue": "true",
},
      "suggested": true
"suggested": true
    },
},
    "show date": {
"order": {
      "label": {
"label": {
        "nl": "Datum tonen",
"nl": "Volgorde",
        "en": "Show date"
"en": "Order"
      },
},
      "description": {
"suggested": true
        "nl": "Datum tonen",
},
        "en": "Show date"
"show button": {
      },
"label": {
      "example": "true",
"nl": "Toon Meer-knop",
      "autovalue": "true",
"en": "Show Read more button"
      "suggested": true
},
    }
"description": "Meer-knop tonen (ja/nee)",
  }
"example": "true",
"autovalue": "true",
"suggested": true
},
"show date": {
"label": {
"nl": "Toon datum",
"en": "Show date"
},
"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