“模板:Comp”的版本间的差异

来自中文乐谱库
(创建页面,内容为“<noinclude> {{#template_params:}} </noinclude><includeonly>{| class="wikitable" |- ! |{{#ask:[[Foaf:homepage::{{SUBJECTPAGENAME}}]]|format=list}} |} </includeonly>”)
 
第1行: 第1行:
 
<noinclude>
 
<noinclude>
{{#template_params:}}
+
This is the "Author" template.
</noinclude><includeonly>{| class="wikitable"
+
 
 +
{{#cargo_declare:_table=Authors
 +
|Country=String}}
 +
</noinclude>
 +
<includeonly>
 +
{{#cargo_store:_table=Authors}}
 +
{|
 +
! Country of origin
 +
| {{{Country|}}}
 
|-
 
|-
!  
+
! Books
|{{#ask:[[Foaf:homepage::{{SUBJECTPAGENAME}}]]|format=list}}
+
| {{#cargo_query:tables=Books|where=Authors HOLDS '{{PAGENAME}}'}}
 
|}
 
|}
 
</includeonly>
 
</includeonly>

2021年12月22日 (三) 14:34的版本

This is the "Author" template.

{{#cargo_declare:_table=Authors |Country=String}}