Difference between revisions of "Template:Googledoc"

From Earth Science Information Partners (ESIP)
Line 5: Line 5:
 
{{#set:
 
{{#set:
 
|Portal={{{Portal title|}}}
 
|Portal={{{Portal title|}}}
|Gdoc title={{{Gdoc title|}}}
+
|Gdoc title={{#titleparts:{{FULLPAGENAME}}||-1}}
 
|Gdoc id={{{Gdoc id|}}}
 
|Gdoc id={{{Gdoc id|}}}
 
|Gdoc purpose={{{Gdoc purpose|}}}
 
|Gdoc purpose={{{Gdoc purpose|}}}
Line 18: Line 18:
 
{{#vardefine: gdid|"{{{Gdoc id|}}}"}}
 
{{#vardefine: gdid|"{{{Gdoc id|}}}"}}
  
{{DISPLAYTITLE: {{{Gdoc title|}}} }}
+
{{DISPLAYTITLE: {{#titleparts:{{FULLPAGENAME}}||-1}} }}
 
</div>
 
</div>
 
{{#if: {{{Gdoc owner|}}}
 
{{#if: {{{Gdoc owner|}}}

Revision as of 09:43, July 19, 2020