Template:Project: Difference between revisions

From Wikiyouth
No edit summary
No edit summary
Tag: 2017 source edit
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
! Name
! Name
| {{{name|}}}
|-
! Logo
| {{#if: {{{logo|}}} | [[{{{logo|}}}|frameless]] | }}
|-
! Country
| {{{country|}}}
|-
! name
| {{{name|}}}
| {{{name|}}}
|-
|-
Line 18: Line 9:
| {{{start_date|}}}
| {{{start_date|}}}
|-  
|-  
|-
! end
! end
| {{{end_date|}}}
| {{{end_date|}}}
|-  
|-  
! volunteers number
! notes
| {{{volunteers_number|}}}
| {{{notes|}}}
|-  
|-
|}
|}


[[{{{pagetitle}}}|source]]
[[{{{pagetitle}}}|source]]
{{#visualdataform: Project
|title = edit
|action = edit
|edit-page = Data:Projects/{{{project_number}}}
|return-page = {{{FULLPAGENAME}}}
|view = popup
|popup-size = medium
|css-class =
|pagename-formula =
|edit-freetext = true 
|edit-categories = false
|edit-content-model = false
|edit-target-slot = false
|target-slot = main
|default-categories =
|default-content-model = wikitext
|preload=
|preload-data=
|layout-align = top
|popup-help = false
|layout = tabs
|submit-button-text =
|validate-button-text =
|callback=
|overwrite-existing-article-on-create = false
|preserve-other-schemas = false
}}
<tabs>
<tab name="Participants" block>
{{{participants|}}}
</tab>
<tab name="Activities" block>
<!-- alternatively use {{{activities}}} with |template?activities=Project activities field  in :Project -->
{{#visualdataquery:[[name::{{#replace:{{{activities}}}|,| {{!}}{{!}}name::}}]]
|schema=Activity
|?name
|?description
|?locations
|pagetitle=
|template?name=Activity name field
|template?locations=Activity locations field
|format=table
|mode=nested
|order=start_date desc
}}
</tab>
<tab name="Apartments" block>
{{{apartments|}}}
</tab>
</tabs>

Latest revision as of 08:42, 6 June 2025

Name
organizations
start date
end
notes

[[{{{pagetitle}}}|source]]

form is loading...


namedescriptionlocations