Difference between revisions of "Usuário:Jaider/2"

From Wikincat
Jump to navigation Jump to search
 
Line 1: Line 1:
Como deve ser:
+
===Annotation===
 +
====subobject====
 +
<code><nowiki>{{#subobject:NamedSubobject|Has text=Some text}}</nowiki></code>
 +
{{#subobject:NamedSubobject|Has text=Some text}}
  
{{#urldecode:https://wikincat.org/wiki/Especial:Editar_dados/Authority_record?Authority_record%5BDescriptive%20cataloging%20rules%5D=c&Data_field%5B1%5D%5BTag%5D=100&Data_field%5B1%5D%5BFirst%20indicator%5D=1&Data_field%5B1%5D%5BField%20content%5D=$a123&Data_field%5B2%5D%5BTag%5D=670&Data_field%5B2%5D%5BField%20content%5D=%24a}}
+
===Query===
 +
====ask====
 +
<code><nowiki>{{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}}</nowiki></code>
  
Como está sendo gerado:
+
Result: {{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}}
 +
====show====
 +
<code><nowiki>{{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}}</nowiki></code>
  
{{#urldecode:https://wikincat.org/wiki/Especial:Editar_dados/Authority_record?Authority_record[Descriptive%20cataloging%20rules]=c&Data_field[0][Tag]=c&Data_field[0][First%20indicator]=100&Data_field[0][Field%20content]=123&Data_field[1][Tag]=670&Data_field[1][Field%20content]=$a}}
+
Result: {{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}}
 +
 
 +
[[Category:Issue]]

Latest revision as of 10:36, 12 January 2020

Annotation

subobject

{{#subobject:NamedSubobject|Has text=Some text}}


Query

ask

{{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}}

Result: Some text

show

{{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}}

Result: Some text