SlideShare une entreprise Scribd logo
1  sur  60
Télécharger pour lire hors ligne
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
SEMANTIC FORMS
& FAMILY
a story with a happy ending
SMWCon Fall 2016
Tutorial Day
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
A SEMANTIC FORM
The Hero of the Story
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
SEMANTIC FORMS
• use with Semantic MediaWiki,
Cargo or independently
• add data via forms
• style outputs with templates
• documentation on mediawiki.org
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
SEMANTIC FORMS
üeasy data input and editing – no
wikitext needed
üidentical styling of printout
üautomatic storage of properties
üarraymap (& arraymaptemplate)
Help: arraymap
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
SEMANTIC FORMS
Let‘s standardize display and
creation of book pages!
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A NEW FORM
Get to know the classy family
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
A FORM‘S FAMILY (= CLASS)
template
property
form category
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A NEW FORM
• create with Special:CreateClass
• create individually
1. properties & their data types
2. templates
3. forms
4. categories
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A CLASS
• create with Special:CreateClass
• add field names, property names,
data types, allowed values
• job queue!
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATECLASS
• create with Special:CreateClass
• add field names, property names,
data types, allowed values
• job queue!
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
DATA STRUCTURE
FIELD	
  
NAME
INPUT
VALUE
PROPERTY DATA	
  TYPE ALLOWED	
  
VALUES
Author Hermann	
  
Hesse
Has	
  author Page
Publishing
year
1974 Was	
  
published
in
Year/Date YYYY
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE INDIVIDUALLY
• create individually
1. properties > Special:CreateProperty
2. templates > Special:CreateTemplate
3. forms > Special:CreateForm
4. categories > Special:CreateCategory
Help: special pages
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE INDIVIDUALLY
• create individually
1. properties > Special:CreateProperty
2. templates > Special:CreateTemplate
3. forms > Special:CreateForm
4. categories > Special:CreateCategory
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A TEMPLATE
• create individually
1. properties > Special:CreateProperty
2. templates > Special:CreateTemplate
3. forms > Special:CreateForm
4. categories > Special:CreateCategory
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A TEMPLATE
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A TEMPLATE
Special:CreateTemplate
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A TEMPLATE
• table, side infobox, plain text,
sections
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A TEMPLATE
semantic storage & styling
<noinclude>[[Category:Book
form]]</noinclude>
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
USE THE TEMPLATE
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
USE THE TEMPLATE
but that‘s tedious to write!
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A FORM
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
A SIMPLE FORM
{{{for template|Book}}}
{| class="formtable“
! Author:
| {{{field|Author|mandatory}}}
|-
! Publisher:
| {{{field|Publisher}}}
|}
{{{end template}}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A NEW FORM
• create individually
1. properties > Special:CreateProperty
2. templates > Special:CreateTemplate
3. forms > Special:CreateForm
4. categories > Special:CreateCategory
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
1 form can fill 1 or more templates
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
properties are taken from template
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
extra parameters according to input type
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
PARAMETERS
• mandatory– *
• restricted – only for
admins
• class
• default value
• preload content
• size, rows/columns,
maxlength, autogrow
• placeholder
• uploadable, default
filename
• values – set ofvalues:
values from property,
from category, from
namespace, from concept,
from url
• list, delimiter
• show on select (input type
dropdown)
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
missing the ”Edit with form” tab?
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
Don’t forget the category:
{{#default_form:Book}}
• based on category, namespace or
single page
Help: the "edit with form" tab
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
FORM:BOOK
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
FORM:BOOK
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
FORM:BOOK
OK, but I want:
• text area instead of text!
• date instead of year!
• a country dropdown field!
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
FORM:BOOK
So I make those changes:
• {{{field|Title|mandatory|input
type=text}}}
• {{{field|Publishing year|input
type=year}}}
• {{{field|Publishing country|values
from property=Has publishing
country}}}
• {{{field|Author|input
type=combobox}}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
THE FORM IN DETAIL
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
A SIMPLE FORM
{{{for template|Book}}}
{| class="formtable“
! Author:
| {{{field|Author|mandatory}}}
|-
! Publisher:
| {{{field|Publisher}}}
|}
{{{end template}}}
Help: defining forms
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
„For TEMPLATE“ Tag
{{{for template|Book}}}
multiple
label= for multiple instances
display= table/spreadsheet
add button text
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
„Info“ Tag
{{{info}}}
{{{for template|Book}}}
{| class="formtable“
! Author:
| {{{field|Author|mandatory}}}
|-
! Publisher:
| {{{field|Publisher}}}
|}
{{{end template}}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
„Info“ Tag
{{{info}}}
partial form
create title
edit title
query title
page name= formula 1-step-process!
onlyinclude free text
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
„field“ Tag
{{{field|Author}}}
input type=
hidden
mandatory
restricted
default
class
property
cargo table, cargo field
list, delimiter
holds template
unique, unique for
category/for
namespace/for concept
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
STANDARD INPUTS
• {{{standard input|free text|rows=10}}}
• {{{standard input|summary}}}
• {{{standard input|minor edit}}}
• {{{standard input|watch}}}
• {{{standard input|save}}}
• {{{standard input|preview}}}
• {{{standard input|changes}}}
• {{{standard input|cancel}}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
INPUT TYPES
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
INPUT TYPES
text (with autocomplete)
textarea (with
autocomplete)
combobox
tokens
radiobutton
dropdown
checkboxes
listbox
tree
checkbox
date
datetime
year
datepicker
openlayers, googlemaps
regexp
Help: input types
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
TEXT & TEXTAREA
with autocomplete
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
COMBOBOX
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
LISTBOX
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
TOKENS
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
DROPDOWN, CHECKBOXES,
RADIOBUTTON
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
DATEPICKER
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
LINK TO THE NEW FORM
• add links to forms (on startpage, in
templates)
– categories have default forms
– links in sidebar and on pages
– #formredlink
Help: #formredlink
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
BEST PRACTICES
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
data structure
DISPLAY
TITLE
FIELD INPUT	
  
VALUE
PROPERTY DATA	
  TYPE INPUT	
  
TYPE
Author Author Hermann	
  
Hesse
Has	
  author Page Text	
  with	
  
autocompl
ete
Publishing	
  
year
Year 1974 Was	
  
published
in
Year/Date Datetime/Y
ear/Datepi
cker
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
name properties wisely
• generic vs specific
• thinking in sentences to make the
direction clear
• Capital vs. Is capital of / Has capital
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
2-step vs. 1-step process
page name is
created during
input, related to
input or not
important.
page name is created by user
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
2-step vs. 1-step process
{{#formlink:form=Book
|link text=Create a new book
|link type=button
|namespace=Books
|new window}}
{{{info|page name=B<unique
number start=000001>}}}
Special:FormEdit/Book
{{#forminput:form=Book}}
Help: one-step process
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
care for your dropdowns
(and users)
{{{field|Country|input
type=dropdown|values from
property=takes place in the
country}}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
care for your dropdowns
{{Countrylist}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
care for your users
• add placeholder text & tooltips
• use meaningful input type
• group long forms into sections
Help: tooltips
Help: input types
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
keep it all together
keep all corresponding pages (pages, forms,
templates, properties, categories in one
category for easy administraion
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
use #if to style your tables and
sideboxes
Help: #if parser function
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
WikiAhoi
www.wikiahoi.at
@WikiAhoi
Volles Wissen voraus!

Contenu connexe

Dernier

Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxalwaysnagaraju26
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfryanfarris8
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...kalichargn70th171
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456KiaraTiradoMicha
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 

Dernier (20)

Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide Deck
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 

En vedette

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

En vedette (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Semantic Forms and Family – introductory tutorial

  • 1. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki SEMANTIC FORMS & FAMILY a story with a happy ending SMWCon Fall 2016 Tutorial Day
  • 2. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki A SEMANTIC FORM The Hero of the Story
  • 3. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki SEMANTIC FORMS • use with Semantic MediaWiki, Cargo or independently • add data via forms • style outputs with templates • documentation on mediawiki.org
  • 4. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki SEMANTIC FORMS üeasy data input and editing – no wikitext needed üidentical styling of printout üautomatic storage of properties üarraymap (& arraymaptemplate) Help: arraymap
  • 5. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki SEMANTIC FORMS Let‘s standardize display and creation of book pages!
  • 6. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A NEW FORM Get to know the classy family
  • 7. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki A FORM‘S FAMILY (= CLASS) template property form category
  • 8. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A NEW FORM • create with Special:CreateClass • create individually 1. properties & their data types 2. templates 3. forms 4. categories
  • 9. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A CLASS • create with Special:CreateClass • add field names, property names, data types, allowed values • job queue!
  • 10. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATECLASS • create with Special:CreateClass • add field names, property names, data types, allowed values • job queue!
  • 11. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki DATA STRUCTURE FIELD   NAME INPUT VALUE PROPERTY DATA  TYPE ALLOWED   VALUES Author Hermann   Hesse Has  author Page Publishing year 1974 Was   published in Year/Date YYYY
  • 12. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE INDIVIDUALLY • create individually 1. properties > Special:CreateProperty 2. templates > Special:CreateTemplate 3. forms > Special:CreateForm 4. categories > Special:CreateCategory Help: special pages
  • 13. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE INDIVIDUALLY • create individually 1. properties > Special:CreateProperty 2. templates > Special:CreateTemplate 3. forms > Special:CreateForm 4. categories > Special:CreateCategory
  • 14. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A TEMPLATE • create individually 1. properties > Special:CreateProperty 2. templates > Special:CreateTemplate 3. forms > Special:CreateForm 4. categories > Special:CreateCategory
  • 15. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A TEMPLATE
  • 16. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A TEMPLATE Special:CreateTemplate
  • 17. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A TEMPLATE • table, side infobox, plain text, sections
  • 18. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A TEMPLATE semantic storage & styling <noinclude>[[Category:Book form]]</noinclude>
  • 19. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki USE THE TEMPLATE
  • 20. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki USE THE TEMPLATE but that‘s tedious to write!
  • 21. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A FORM
  • 22. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki A SIMPLE FORM {{{for template|Book}}} {| class="formtable“ ! Author: | {{{field|Author|mandatory}}} |- ! Publisher: | {{{field|Publisher}}} |} {{{end template}}}
  • 23. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A NEW FORM • create individually 1. properties > Special:CreateProperty 2. templates > Special:CreateTemplate 3. forms > Special:CreateForm 4. categories > Special:CreateCategory
  • 24. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki 1 form can fill 1 or more templates
  • 25. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki properties are taken from template
  • 26. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki extra parameters according to input type
  • 27. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki PARAMETERS • mandatory– * • restricted – only for admins • class • default value • preload content • size, rows/columns, maxlength, autogrow • placeholder • uploadable, default filename • values – set ofvalues: values from property, from category, from namespace, from concept, from url • list, delimiter • show on select (input type dropdown)
  • 28. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki missing the ”Edit with form” tab?
  • 29. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki Don’t forget the category: {{#default_form:Book}} • based on category, namespace or single page Help: the "edit with form" tab
  • 30. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki FORM:BOOK
  • 31. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki FORM:BOOK
  • 32. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki FORM:BOOK OK, but I want: • text area instead of text! • date instead of year! • a country dropdown field!
  • 33. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki FORM:BOOK So I make those changes: • {{{field|Title|mandatory|input type=text}}} • {{{field|Publishing year|input type=year}}} • {{{field|Publishing country|values from property=Has publishing country}}} • {{{field|Author|input type=combobox}}}
  • 34. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki THE FORM IN DETAIL
  • 35. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki A SIMPLE FORM {{{for template|Book}}} {| class="formtable“ ! Author: | {{{field|Author|mandatory}}} |- ! Publisher: | {{{field|Publisher}}} |} {{{end template}}} Help: defining forms
  • 36. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki „For TEMPLATE“ Tag {{{for template|Book}}} multiple label= for multiple instances display= table/spreadsheet add button text
  • 37. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki „Info“ Tag {{{info}}} {{{for template|Book}}} {| class="formtable“ ! Author: | {{{field|Author|mandatory}}} |- ! Publisher: | {{{field|Publisher}}} |} {{{end template}}}
  • 38. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki „Info“ Tag {{{info}}} partial form create title edit title query title page name= formula 1-step-process! onlyinclude free text
  • 39. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki „field“ Tag {{{field|Author}}} input type= hidden mandatory restricted default class property cargo table, cargo field list, delimiter holds template unique, unique for category/for namespace/for concept
  • 40. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki STANDARD INPUTS • {{{standard input|free text|rows=10}}} • {{{standard input|summary}}} • {{{standard input|minor edit}}} • {{{standard input|watch}}} • {{{standard input|save}}} • {{{standard input|preview}}} • {{{standard input|changes}}} • {{{standard input|cancel}}}
  • 41. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki INPUT TYPES
  • 42. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki INPUT TYPES text (with autocomplete) textarea (with autocomplete) combobox tokens radiobutton dropdown checkboxes listbox tree checkbox date datetime year datepicker openlayers, googlemaps regexp Help: input types
  • 43. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki TEXT & TEXTAREA with autocomplete
  • 44. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki COMBOBOX
  • 45. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki LISTBOX
  • 46. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki TOKENS
  • 47. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki DROPDOWN, CHECKBOXES, RADIOBUTTON
  • 48. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki DATEPICKER
  • 49. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki LINK TO THE NEW FORM • add links to forms (on startpage, in templates) – categories have default forms – links in sidebar and on pages – #formredlink Help: #formredlink
  • 50. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki BEST PRACTICES
  • 51. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki data structure DISPLAY TITLE FIELD INPUT   VALUE PROPERTY DATA  TYPE INPUT   TYPE Author Author Hermann   Hesse Has  author Page Text  with   autocompl ete Publishing   year Year 1974 Was   published in Year/Date Datetime/Y ear/Datepi cker
  • 52. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki name properties wisely • generic vs specific • thinking in sentences to make the direction clear • Capital vs. Is capital of / Has capital
  • 53. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki 2-step vs. 1-step process page name is created during input, related to input or not important. page name is created by user
  • 54. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki 2-step vs. 1-step process {{#formlink:form=Book |link text=Create a new book |link type=button |namespace=Books |new window}} {{{info|page name=B<unique number start=000001>}}} Special:FormEdit/Book {{#forminput:form=Book}} Help: one-step process
  • 55. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki care for your dropdowns (and users) {{{field|Country|input type=dropdown|values from property=takes place in the country}}}
  • 56. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki care for your dropdowns {{Countrylist}}
  • 57. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki care for your users • add placeholder text & tooltips • use meaningful input type • group long forms into sections Help: tooltips Help: input types
  • 58. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki keep it all together keep all corresponding pages (pages, forms, templates, properties, categories in one category for easy administraion
  • 59. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki use #if to style your tables and sideboxes Help: #if parser function
  • 60. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki WikiAhoi www.wikiahoi.at @WikiAhoi Volles Wissen voraus!